summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
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*/)