summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-04-03 19:02:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-04-03 22:14:16 +0200
commitb9867f8b884ae8870a71b61e36f23eda91987e2a (patch)
treed8657964695f8b17b6a33cbbf4a6d4e4eaaaf0f7 /oox
parent870314d155d37d6ad110aaaeb8ba2efa41446d5b (diff)
crashtesting: mismatched start/end tag assert on reexport of tdf113187-1.pptx
since... commit 86be3422cd55fa9e44104f1628648061bb6a3495 Date: Wed Dec 18 16:46:36 2019 +0100 tdf#129857 Chart OOXML export: fix deleted legend entries The legend showed deleted legend entries too after export. the bare return leaves a start inserted, but no end Change-Id: If474b53ed7ff18334d095da0a8996a93a8e62e09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91656 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index d6eaac8eedb2..ba0fdb3c94fd 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1088,8 +1088,6 @@ void ChartExport::exportLegend( const Reference< css::chart::XChartDocument >& x
// legendEntry
Reference<chart2::XCoordinateSystemContainer> xCooSysContainer(mxNewDiagram, UNO_QUERY_THROW);
const Sequence<Reference<chart2::XCoordinateSystem>> xCooSysSequence(xCooSysContainer->getCoordinateSystems());
- if (!xCooSysSequence.hasElements())
- return;
sal_Int32 nIndex = 0;
bool bShowLegendEntry;