summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-11-23 23:10:29 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-11-23 23:11:02 +0100
commitd689ad29c28ad7f077c2239a8fa4c2b6307a6aa1 (patch)
treed66cc700033fe101357b386f1e028101f64049ee /helpcompiler
parent5645c15d3df900f65a1d9513155ee38743c543fa (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.cxx3
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;
}