summaryrefslogtreecommitdiff
path: root/sc
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 /sc
parent988ac73e57b7e7f171fb2543de90a9afc2aa3289 (diff)
lok: these are not always plain ascii
Change-Id: I9783b6b2839805189015dbad8a97128c89e0a4a9
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/unoobj/docuno.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index 848fb26d9463..353ddec0180c 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -1027,7 +1027,7 @@ OUString ScModelObj::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 ScModelObj::initializeForTiledRendering(const css::uno::Sequence<css::beans::PropertyValue>& /*rArguments*/)