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" ) {