diff options
author | Andre Fischer <af@apache.org> | 2012-06-07 10:42:10 +0000 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-03-14 13:37:08 +0000 |
commit | 0bd9229fdeb4bcf3023bef65257ff8317590455a (patch) | |
tree | 571db0fa41ab73b2e2aadf3fcad5a330ba8ae274 /filter | |
parent | b6b0e5527cce681fe157b2f091b67a7ae8cf9aa2 (diff) |
i#119478# Fixed application of transparency to table cells.
Patch by: Lei Debin
Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
(cherry picked from commit 87354e7fc1f63480bdef092047f912682bc7ac58)
Reviewed-on: https://gerrit.libreoffice.org/2725
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'filter')
-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 b44fe62cf673..306309d592db 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -7329,12 +7329,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& ) |