[Libreoffice-commits] core.git: oox/source

Vinaya Mandke vinaya.mandke at synerzip.com
Wed Sep 10 08:58:58 PDT 2014


 oox/source/export/chartexport.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 3383fd7b229a9d78044231bfb5ccca256fe400a2
Author: Vinaya Mandke <vinaya.mandke at synerzip.com>
Date:   Wed Sep 10 18:23:06 2014 +0530

    Clean-up
    
    Change-Id: I66255e8bc37191e859c134eab7d7f8117cd9181a
    Reviewed-on: https://gerrit.libreoffice.org/11380
    Reviewed-by: Michael Stahl <mstahl at redhat.com>
    Tested-by: Michael Stahl <mstahl at redhat.com>

diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index d074fe2..8fe0a87 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) )
             {


More information about the Libreoffice-commits mailing list