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

Stephan Bergmann sbergman at redhat.com
Mon Jun 26 09:30:55 UTC 2017


 sc/source/filter/excel/xlchart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9be706e34a8d62e1c94bd82df44b8602a97d2b2a
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 26 11:29:39 2017 +0200

    nTransparency of type sal_Int16
    
    regression introduced with ac2d415a52f22caf0012b7d9b17d015aca27db9d
    "loplugin:oncevar in sc"
    
    Change-Id: I521053a59bb16c78d97129e4de5ebbf4820d6640

diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index 638c65f981c5..07fa32091e78 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -1003,7 +1003,7 @@ void XclChPropSetHelper::WriteAreaProperties( ScfPropertySet& rPropSet,
     // write the properties
     ScfPropSetHelper& rAreaHlp = GetAreaHelper( ePropMode );
     rAreaHlp.InitializeWrite();
-    rAreaHlp << eFillStyle << aColor << 0/*nTransparency*/;
+    rAreaHlp << eFillStyle << aColor << sal_Int16(0)/*nTransparency*/;
     rAreaHlp.WriteToPropertySet( rPropSet );
 }
 


More information about the Libreoffice-commits mailing list