[Libreoffice-commits] core.git: oox/source

Stephan Bergmann sbergman at redhat.com
Thu Apr 30 02:12:59 PDT 2015


 oox/source/vml/vmlshape.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 109582aad9e5a7066214ff70c388a3b92d128bb9
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 30 11:12:33 2015 +0200

    FillTransparence is of UNO type short
    
    Change-Id: I29ade324b4bb5eb34ce05107794f0ac9a4834c6e

diff --git a/oox/source/vml/vmlshape.cxx b/oox/source/vml/vmlshape.cxx
index bd738d2..3f4e3fc 100644
--- a/oox/source/vml/vmlshape.cxx
+++ b/oox/source/vml/vmlshape.cxx
@@ -332,7 +332,7 @@ Reference< XShape > ShapeBase::convertAndInsert( const Reference< XShapes >& rxS
                     if (propertySet->getPropertyValue("FillStyle") == FillStyle_NONE &&
                         propertySet->getPropertyValue("BackColorTransparency") == makeAny(100)) {
                         // If there is no fill, the Word default is 100% transparency.
-                        propertySet->setPropertyValue("FillTransparence", makeAny(100));
+                        propertySet->setPropertyValue("FillTransparence", makeAny(sal_Int16(100)));
                     }
                 }
                 else


More information about the Libreoffice-commits mailing list