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

Stephan Bergmann sbergman at redhat.com
Tue May 12 00:07:33 PDT 2015


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

New commits:
commit e1ebdf38969a17af9453f674c81663187411597d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue May 12 09:06:59 2015 +0200

    loplugin:cstylecast
    
    Change-Id: I1c0f16d4f68013f126a52976d4ff9f7dde9f3eaf

diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index e7bea03..2287fdf 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1671,7 +1671,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
             }
             else if(aPropName == "BulletColor")
             {
-                nBulletColor = *( (sal_Int32*)pValue );
+                nBulletColor = *static_cast<sal_Int32 const *>(pValue);
             }
             else if ( aPropName == "BulletChar" )
             {


More information about the Libreoffice-commits mailing list