summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-13 08:45:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-13 10:58:54 +0100
commit9f4e9cacf02f6d6df939b2465b46d3398b68b8d5 (patch)
treeb5a9e6d9f3b4b511bf84a3a9e7d493d885cd1e73 /oox
parentc4f0c87b2f4ac68accc202731e0328ab101a073e (diff)
cid#1457613 Unchecked return value
Change-Id: I327f735a25fd3d33d571523a8c120b786d9c36ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86658 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/drawingml/chart/titleconverter.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/drawingml/chart/titleconverter.cxx b/oox/source/drawingml/chart/titleconverter.cxx
index 9d35bf08ce69..fa79d0d9457a 100644
--- a/oox/source/drawingml/chart/titleconverter.cxx
+++ b/oox/source/drawingml/chart/titleconverter.cxx
@@ -290,8 +290,7 @@ void LegendConverter::legendEntriesFormatting(const Reference<XDiagram>& rxDiagr
for (const auto& rDataSeries : aDataSeriesSeq)
{
PropertySet aSeriesProp(rDataSeries);
- bool bVaryColorsByPoint = false;
- aSeriesProp.getProperty(bVaryColorsByPoint, PROP_VaryColorsByPoint);
+ bool bVaryColorsByPoint = aSeriesProp.getBoolProperty(PROP_VaryColorsByPoint);
if (bVaryColorsByPoint)
{