summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-02-22 19:26:28 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-02-22 19:27:51 +0530
commit46b5dff4db336df2ff6496d91b0a2c559c6a9592 (patch)
tree9feb46cb420ed1eda324f349aaa67ad3e00fc3d0 /sd
parent988ac73e57b7e7f171fb2543de90a9afc2aa3289 (diff)
lok: these are not always plain ascii
Change-Id: I9783b6b2839805189015dbad8a97128c89e0a4a9
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index ec701f0bc410..f997ac79e0ae 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -2398,7 +2398,7 @@ OUString SdXImpressDocument::getPostIts()
std::stringstream aStream;
boost::property_tree::write_json(aStream, aTree);
- return OUString::createFromAscii(aStream.str().c_str());
+ return OUString::fromUtf8(aStream.str().c_str());
}
void SdXImpressDocument::initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& rArguments)