diff options
author | Vinaya Mandke <vinaya.mandke@synerzip.com> | 2014-09-10 18:23:06 +0530 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-10 15:58:32 +0000 |
commit | 3383fd7b229a9d78044231bfb5ccca256fe400a2 (patch) | |
tree | af860b3f22735f64373894bc6e0239982d9baee2 /oox | |
parent | 628a0f27de2ad6712c87899b96fe4dcc20a592ef (diff) |
Clean-up
Change-Id: I66255e8bc37191e859c134eab7d7f8117cd9181a
Reviewed-on: https://gerrit.libreoffice.org/11380
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/export/chartexport.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx index d074fe2da3f7..8fe0a8736e42 100644 --- a/oox/source/export/chartexport.cxx +++ b/oox/source/export/chartexport.cxx @@ -1187,14 +1187,14 @@ void ChartExport::exportBitmapFill( Reference< XPropertySet > xPropSet ) { if( xPropSet.is() ) { - OUString sFillGradientName; - xPropSet->getPropertyValue("FillBitmapName") >>= sFillGradientName; + OUString sFillBitmapName; + xPropSet->getPropertyValue("FillBitmapName") >>= sFillBitmapName; uno::Reference< lang::XMultiServiceFactory > xFact( getModel(), uno::UNO_QUERY ); try { - uno::Reference< container::XNameAccess > xGradient( xFact->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY ); - uno::Any rValue = xGradient->getByName( sFillGradientName ); + uno::Reference< container::XNameAccess > xBitmap( xFact->createInstance("com.sun.star.drawing.BitmapTable"), uno::UNO_QUERY ); + uno::Any rValue = xBitmap->getByName( sFillBitmapName ); OUString sBitmapURL; if( (rValue >>= sBitmapURL) ) { |