[Libreoffice-commits] core.git: oox/source
Stephan Bergmann
sbergman at redhat.com
Mon Apr 13 02:38:41 PDT 2015
oox/source/export/drawingml.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 0b2a85876c8638dad86feb741003f82b51c231ab
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Apr 13 11:37:51 2015 +0200
loplugin:cstylecast
Change-Id: Id0b6e889652094a75bf9d3590c375491bed0a79a
diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx
index f4e36a9..b4e8fd3 100644
--- a/oox/source/export/drawingml.cxx
+++ b/oox/source/export/drawingml.cxx
@@ -1659,7 +1659,7 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
}
else if ( aPropName == "StartWith" )
{
- nStartWith = *( (sal_Int16*)pValue );
+ nStartWith = *static_cast<sal_Int16 const *>(pValue);
}
else if ( aPropName == "GraphicURL" )
{
More information about the Libreoffice-commits
mailing list