diff options
-rw-r--r-- | svl/source/items/poolitem.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx index c5e09ddf9048..25f2720b547c 100644 --- a/svl/source/items/poolitem.cxx +++ b/svl/source/items/poolitem.cxx @@ -549,7 +549,8 @@ void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const OUString rText; IntlWrapper aIntlWrapper(SvtSysLocale().GetUILanguageTag()); if (GetPresentation( SfxItemPresentation::Complete, MapUnit::Map100thMM, MapUnit::Map100thMM, rText, aIntlWrapper)) - xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(rText.getStr())); + xmlTextWriterWriteAttribute( + pWriter, BAD_CAST("presentation"), BAD_CAST(rText.toUtf8().getStr())); xmlTextWriterEndElement(pWriter); } |