summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-13 11:37:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-13 11:37:51 +0200
commit0b2a85876c8638dad86feb741003f82b51c231ab (patch)
treebc1669a7fb8fcd14caea06f7f343d118c93a8bbc /oox
parent5c308ad7696f3873c0747afef1ea143047e4eafb (diff)
loplugin:cstylecast
Change-Id: Id0b6e889652094a75bf9d3590c375491bed0a79a
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/drawingml.cxx2
1 files changed, 1 insertions, 1 deletions
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<sal_Int16 const *>(pValue);
}
else if ( aPropName == "GraphicURL" )
{