summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-06-07 10:42:10 +0000
committerEike Rathke <erack@redhat.com>2013-03-14 13:20:22 +0100
commit87354e7fc1f63480bdef092047f912682bc7ac58 (patch)
tree3ae38ebf0032b1a81dd78aac7c31347ff603f782
parent04ab54f0c74ef0edcdd3ede3a5046a02f4bc90b1 (diff)
i#119478# Fixed application of transparency to table cells.
Patch by: Lei Debin Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
-rw-r--r--filter/source/msfilter/svdfppt.cxx8
1 files changed, 2 insertions, 6 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 94bf34b89937..113d91244062 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& )