[Libreoffice-commits] core.git: oox/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Tue Aug 25 18:26:27 UTC 2020
oox/source/export/chartexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 227a59a5f15286d522e268ab17460d87d42451cb
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Aug 25 12:36:56 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Aug 25 20:25:46 2020 +0200
GetProperty extracts property to mAny already
so its already available to assign to nVal and doesn't need
to be refetched
Change-Id: Ie4ed1a63873847007c85fca24aff0724ee7e65c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101338
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 cdbe588ffc30..12b3aba485ab 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -1577,7 +1577,7 @@ void ChartExport::exportFill( const Reference< XPropertySet >& xPropSet )
if (!GetProperty( xPropSet, "FillStyle" ))
return;
FillStyle aFillStyle(FillStyle_NONE);
- xPropSet->getPropertyValue("FillStyle") >>= aFillStyle;
+ mAny >>= aFillStyle;
// map full transparent background to no fill
if (aFillStyle == FillStyle_SOLID && GetProperty( xPropSet, "FillTransparence" ))
More information about the Libreoffice-commits
mailing list