[Libreoffice-commits] core.git: oox/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 12 14:42:13 UTC 2020
oox/source/drawingml/chart/titleconverter.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 33ac8ea863ddba903834fe9d0e7165a087bb9c5f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Jan 11 19:44:12 2020 +0000
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Jan 12 15:41:37 2020 +0100
cid#1457613 silence Unchecked return value
Change-Id: I034031dba1a67347c59ce7f17e96c795990dd39e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86624
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/oox/source/drawingml/chart/titleconverter.cxx b/oox/source/drawingml/chart/titleconverter.cxx
index e6591e1a5323..9d35bf08ce69 100644
--- a/oox/source/drawingml/chart/titleconverter.cxx
+++ b/oox/source/drawingml/chart/titleconverter.cxx
@@ -271,8 +271,7 @@ void LegendConverter::legendEntriesFormatting(const Reference<XDiagram>& rxDiagr
for (const auto& rCooSys : xCooSysSequence)
{
PropertySet aCooSysProp(rCooSys);
- bool bSwapXAndY = false;
- aCooSysProp.getProperty(bSwapXAndY, PROP_SwapXAndYAxis);
+ bool bSwapXAndY = aCooSysProp.getBoolProperty(PROP_SwapXAndYAxis);
Reference<XChartTypeContainer> xChartTypeContainer(rCooSys, UNO_QUERY_THROW);
const Sequence<Reference<XChartType>> xChartTypeSequence(xChartTypeContainer->getChartTypes());
More information about the Libreoffice-commits
mailing list