Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2725

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/25/2725/1

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

Patch by: Lei Debin

Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
(cherry picked from commit 87354e7fc1f63480bdef092047f912682bc7ac58)
---
M filter/source/msfilter/svdfppt.cxx
1 file changed, 2 insertions(+), 6 deletions(-)



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 @@
         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& )

-- 
To view, visit https://gerrit.libreoffice.org/2725
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Eike Rathke <erack@redhat.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.