oox/source/drawingml/chart/titleconverter.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9f4e9cacf02f6d6df939b2465b46d3398b68b8d5
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Jan 13 08:45:41 2020 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Jan 13 10:58:54 2020 +0100

    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 <caol...@redhat.com>

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)
                 {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to