summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmloff/source/style/impastpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/impastpl.cxx b/xmloff/source/style/impastpl.cxx
index 5a54f78d0d04..3147edad34db 100644
--- a/xmloff/source/style/impastpl.cxx
+++ b/xmloff/source/style/impastpl.cxx
@@ -78,7 +78,7 @@ struct2string(void *data,
result.append("{");
const typelib_CompoundTypeDescription *compoundType =
- &((const typelib_StructTypeDescription*) type)->aBase;
+ &reinterpret_cast<const typelib_StructTypeDescription*>(type)->aBase;
for (int i = 0; i < compoundType->nMembers; i++)
{