diff options
author | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-22 19:26:28 +0530 |
---|---|---|
committer | Pranav Kant <pranavk@collabora.co.uk> | 2017-02-22 19:27:51 +0530 |
commit | 46b5dff4db336df2ff6496d91b0a2c559c6a9592 (patch) | |
tree | 9feb46cb420ed1eda324f349aaa67ad3e00fc3d0 /sw/source/uibase | |
parent | 988ac73e57b7e7f171fb2543de90a9afc2aa3289 (diff) |
lok: these are not always plain ascii
Change-Id: I9783b6b2839805189015dbad8a97128c89e0a4a9
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index cd1e00c94da9..4c18778dec5c 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3224,7 +3224,7 @@ OUString SwXTextDocument::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()); } int SwXTextDocument::getPart() |