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

Andre Fischer af at apache.org
Thu Mar 14 05:20:42 PDT 2013


 filter/source/msfilter/svdfppt.cxx |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 87354e7fc1f63480bdef092047f912682bc7ac58
Author: Andre Fischer <af at apache.org>
Date:   Thu Jun 7 10:42:10 2012 +0000

    i#119478# Fixed application of transparency to table cells.
    
    Patch by: Lei Debin
    
    Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580

diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 94bf34b..113d912 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -7336,12 +7336,8 @@ void ApplyCellAttributes( const SdrObject* pObj, Reference< XCell >& xCell )
         if ( eFillStyle != XFILL_NONE )
         {
             sal_Int16 nFillTransparence( ( (const XFillTransparenceItem&)pObj->GetMergedItem( XATTR_FILLTRANSPARENCE ) ).GetValue() );
-            if ( nFillTransparence != 100 )
-            {
-                nFillTransparence *= 100;
-                static const rtl::OUString sFillTransparence( String( RTL_CONSTASCII_USTRINGPARAM( "FillTransparence" ) ) );
-                xPropSet->setPropertyValue( sFillTransparence, Any( nFillTransparence ) );
-            }
+            static const rtl::OUString sFillTransparence( String( RTL_CONSTASCII_USTRINGPARAM( "FillTransparence" ) ) );
+            xPropSet->setPropertyValue( sFillTransparence, Any( nFillTransparence ) );
         }
     }
     catch( const Exception& )


More information about the Libreoffice-commits mailing list