diff options
Diffstat (limited to 'xmloff/source/text/XMLIndexMarkExport.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexMarkExport.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmloff/source/text/XMLIndexMarkExport.cxx b/xmloff/source/text/XMLIndexMarkExport.cxx index 90b45b050679..75c027843b96 100644 --- a/xmloff/source/text/XMLIndexMarkExport.cxx +++ b/xmloff/source/text/XMLIndexMarkExport.cxx @@ -244,11 +244,9 @@ void XMLIndexMarkExport::GetID( OUStringBuffer& sBuf, const Reference<XPropertySet> & rPropSet) { - static const sal_Char sPrefix[] = "IMark"; - // HACK: use address of object to form identifier sal_Int64 nId = sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(rPropSet.get())); - sBuf.append(sPrefix); + sBuf.append("IMark"); sBuf.append(nId); } |