summaryrefslogtreecommitdiff
path: root/xmloff/source/style/impastpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/impastpl.cxx')
-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 3147edad34db..b6e1b2ae176a 100644
--- a/xmloff/source/style/impastpl.cxx
+++ b/xmloff/source/style/impastpl.cxx
@@ -86,7 +86,7 @@ struct2string(void *data,
result.append(":");
result.append(compoundType->ppMemberNames[i]);
result.append("=");
- result.append(data2string(((char *)data)+compoundType->pMemberOffsets[i],
+ result.append(data2string(static_cast<char *>(data)+compoundType->pMemberOffsets[i],
compoundType->ppTypeRefs[i]));
}