summaryrefslogtreecommitdiff
path: root/desktop
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 /desktop
parent5645c15d3df900f65a1d9513155ee38743c543fa (diff)
New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUString
Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 7abfdda84c89..501ebe1497ce 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -37,6 +37,7 @@
#include "desktopcontext.hxx"
#include "migration.hxx"
+#include <o3tl/runtimetooustring.hxx>
#include <svl/languageoptions.hxx>
#include <svtools/javacontext.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
@@ -1696,7 +1697,7 @@ int Desktop::Main()
catch( const std::exception& exSTD)
{
RequestHandler::SetDowning();
- FatalError( OUString::createFromAscii( exSTD.what()));
+ FatalError(o3tl::runtimeToOUString(exSTD.what()));
}
catch( ...)
{