From 0b2a85876c8638dad86feb741003f82b51c231ab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 13 Apr 2015 11:37:51 +0200 Subject: [PATCH] loplugin:cstylecast Change-Id: Id0b6e889652094a75bf9d3590c375491bed0a79a --- oox/source/export/drawingml.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oox/source/export/drawingml.cxx b/oox/source/export/drawingml.cxx index f4e36a91fe6b..b4e8fd307c03 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(pValue); } else if ( aPropName == "GraphicURL" ) {