diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-11 19:46:34 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-12 16:34:28 +0100 |
commit | 454e3eeaf36fd7f9470fb5a1945972990e6e5919 (patch) | |
tree | b08de746175e5d959ac9798f59a5e7b43a742a58 /oox/source | |
parent | 33ac8ea863ddba903834fe9d0e7165a087bb9c5f (diff) |
cid#1457617 Unchecked return value
Change-Id: Iff33ff608256ac9d6d8037e512f5669448909e18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86625
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox/source')
-rw-r--r-- | oox/source/export/chartexport.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 8dfb053a1f7d..62fc36cc5baa 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1124,8 +1124,7 @@ void ChartExport::exportLegend( const Reference< css::chart::XChartDocument >& x for (const auto& rDataSeries : aDataSeriesSeq) { PropertySet aSeriesProp(rDataSeries); - bool bVaryColorsByPoint = false; - aSeriesProp.getProperty(bVaryColorsByPoint, PROP_VaryColorsByPoint); + bool bVaryColorsByPoint = aSeriesProp.getBoolProperty(PROP_VaryColorsByPoint); if (bVaryColorsByPoint) { Sequence<sal_Int32> deletedLegendEntriesSeq; |