summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLConstantsPropertyHandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/XMLConstantsPropertyHandler.cxx')
-rw-r--r--xmloff/source/style/XMLConstantsPropertyHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/XMLConstantsPropertyHandler.cxx b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
index 9a38098d5095..ca3843f25fe1 100644
--- a/xmloff/source/style/XMLConstantsPropertyHandler.cxx
+++ b/xmloff/source/style/XMLConstantsPropertyHandler.cxx
@@ -67,7 +67,7 @@ bool XMLConstantsPropertyHandler::exportXML(
if( rValue.hasValue() && (rValue.getValueTypeClass() == TypeClass_ENUM))
{
- nEnum = *((sal_Int32*)rValue.getValue());
+ nEnum = *static_cast<sal_Int32 const *>(rValue.getValue());
bRet = true;
}
else