[Libreoffice-commits] core.git: oox/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 24 14:01:44 UTC 2020
oox/source/export/chartexport.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cf2904c562935ebc72b773dddea50fd3c27b314f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 24 12:26:45 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 24 16:01:05 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: Iecfa5e7546b0ef7915999335995e43d85692dfa9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101273
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 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;
}
More information about the Libreoffice-commits
mailing list