Kaydet (Commit) 87354e7f authored tarafından Andre Fischer's avatar Andre Fischer Kaydeden (comit) Eike Rathke

i#119478# Fixed application of transparency to table cells.

Patch by: Lei Debin

Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
üst 04ab54f0
......@@ -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& )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment