From 9f4e9cacf02f6d6df939b2465b46d3398b68b8d5 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 13 Jan 2020 08:45:41 +0000 Subject: cid#1457613 Unchecked return value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I327f735a25fd3d33d571523a8c120b786d9c36ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86658 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- oox/source/drawingml/chart/titleconverter.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'oox') 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& 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) { -- cgit