summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-19 15:11:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:54 +0100
commitb388b9fc48ee0e92dfffef910f141a2ee338c413 (patch)
treed0f40129c829b2047e690cc05d7be53540a8cdeb /xmloff
parentbf50bd977288333aa77b25d59eaf92c0b604e3c3 (diff)
Some more loplugin:cstylecast: xmloff
Change-Id: I45cb9467c618eed929c84656a26293c8d6087378
Diffstat (limited to 'xmloff')
-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++)
{