diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-08-24 12:26:45 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-08-24 16:01:05 +0200 |
commit | cf2904c562935ebc72b773dddea50fd3c27b314f (patch) | |
tree | 285b47e0fb77615218c0eb5eaf7372121927eaf0 /oox | |
parent | d9e1775941ff2314d4c1c3d2ace273796d809ca4 (diff) |
GetProperty extracts property to mAny already
so its already available to assign to nVal and doesn't need
to be refetched
Change-Id: Iecfa5e7546b0ef7915999335995e43d85692dfa9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101273
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index 5ea054d83ca0..c9f3df4fd195 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1583,7 +1583,7 @@ void ChartExport::exportFill( const Reference< XPropertySet >& xPropSet ) if (aFillStyle == FillStyle_SOLID && GetProperty( xPropSet, "FillTransparence" )) { sal_Int16 nVal = 0; - xPropSet->getPropertyValue( "FillTransparence" ) >>= nVal; + mAny >>= nVal; if ( nVal == 100 ) aFillStyle = FillStyle_NONE; } |