summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-25 12:36:56 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-25 20:25:46 +0200
commit227a59a5f15286d522e268ab17460d87d42451cb (patch)
tree284a4a57bf8e4186b18783b4e7899024b91b4272 /oox
parenta64511dc929a91926ade0c132b310214fdb1bdea (diff)
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@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/chartexport.cxx2
1 files changed, 1 insertions, 1 deletions
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" ))