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 b6e1b2ae176a..a35f51b0b4cf 100644
--- a/xmloff/source/style/impastpl.cxx
+++ b/xmloff/source/style/impastpl.cxx
@@ -165,7 +165,7 @@ data2string(void *data,
static OUString
any2string(uno::Any any)
{
- return data2string((void*)any.getValue(), any.pType);
+ return data2string(const_cast<void*>(any.getValue()), any.pType);
}
// Class SvXMLAutoStylePoolProperties_Impl