incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1347577 - /incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
Date Thu, 07 Jun 2012 11:42:10 GMT
Author: af
Date: Thu Jun  7 11:42:10 2012
New Revision: 1347577

URL: http://svn.apache.org/viewvc?rev=1347577&view=rev
Log:
#i119478# Fixed application of transparency to table cells.

          Patch by: Lei Debin


Modified:
    incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx

Modified: incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx?rev=1347577&r1=1347576&r2=1347577&view=diff
==============================================================================
--- incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx (original)
+++ incubator/ooo/trunk/main/filter/source/msfilter/svdfppt.cxx Thu Jun  7 11:42:10 2012
@@ -7589,12 +7589,8 @@ void ApplyCellAttributes( const SdrObjec
 		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( Exception& )



Mime
View raw message