filter/source/msfilter/svdfppt.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
New commits: commit 0bd9229fdeb4bcf3023bef65257ff8317590455a Author: Andre Fischer <[email protected]> Date: Thu Jun 7 10:42:10 2012 +0000 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 <[email protected]> Tested-by: Fridrich Strba <[email protected]> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index b44fe62..306309d 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& ) _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
