diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-23 23:10:29 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2019-04-10 06:42:58 -0700 |
commit | e601e7bcadeb0fa1877a54d86f3d8c384574ab72 (patch) | |
tree | 71988a3f22f6838133d21d0336cde6bd459c2f83 /helpcompiler | |
parent | 2a7a01b02bdf0695da8c0d4c2250ad6289da9026 (diff) |
New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUString
Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
Diffstat (limited to 'helpcompiler')
-rw-r--r-- | helpcompiler/source/HelpIndexer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpIndexer.cxx b/helpcompiler/source/HelpIndexer.cxx index e6a26fce3d28..0c10da99d0c5 100644 --- a/helpcompiler/source/HelpIndexer.cxx +++ b/helpcompiler/source/HelpIndexer.cxx @@ -12,6 +12,7 @@ #include <rtl/string.hxx> #include <rtl/uri.hxx> #include <rtl/ustrbuf.hxx> +#include <o3tl/runtimetooustring.hxx> #include <osl/file.hxx> #include <osl/thread.h> #include <algorithm> @@ -72,7 +73,7 @@ bool HelpIndexer::indexDocuments() } catch (CLuceneError &e) { - d_error = OUString::createFromAscii(e.what()); + d_error = o3tl::runtimeToOUString(e.what()); return false; } |