[Libreoffice-commits] core.git: oox/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 12 15:34:59 UTC 2020
oox/source/export/chartexport.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 454e3eeaf36fd7f9470fb5a1945972990e6e5919
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jan 11 19:46:34 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jan 12 16:34:28 2020 +0100
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 at redhat.com>
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;
More information about the Libreoffice-commits
mailing list