diff options
author | Andre Fischer <af@apache.org> | 2012-06-07 10:42:10 +0000 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-14 13:20:22 +0100 |
commit | 87354e7fc1f63480bdef092047f912682bc7ac58 (patch) | |
tree | 3ae38ebf0032b1a81dd78aac7c31347ff603f782 | |
parent | fdo#60604 - fix Impress remote client speaker notes encoding (diff) | |
download | core-87354e7fc1f63480bdef092047f912682bc7ac58.tar.gz core-87354e7fc1f63480bdef092047f912682bc7ac58.zip |
i#119478# Fixed application of transparency to table cells.
Patch by: Lei Debin
Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 8 |
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& ) |