diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-11-23 23:10:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-11-23 23:11:02 +0100 |
commit | d689ad29c28ad7f077c2239a8fa4c2b6307a6aa1 (patch) | |
tree | d66cc700033fe101357b386f1e028101f64049ee /vcl/unx/gtk3/gtk3gtkframe.cxx | |
parent | 5645c15d3df900f65a1d9513155ee38743c543fa (diff) |
New o3tl::runtimeToOUString to convert from C++ runtime NTBS to OUString
Change-Id: I613bb70b6828f615fd45af38b2d873ece55ace60
Diffstat (limited to 'vcl/unx/gtk3/gtk3gtkframe.cxx')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkframe.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index c1f70ad3dcc2..e3a628642a58 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -30,6 +30,7 @@ #include <unx/genprn.h> #include <unx/geninst.h> #include <headless/svpgdi.hxx> +#include <o3tl/runtimetooustring.hxx> #include <osl/file.hxx> #include <rtl/bootstrap.hxx> #include <rtl/process.h> @@ -4274,7 +4275,7 @@ long GtkSalFrame::CallCallbackExc(SalEvent nEvent, const void* pEvent) const css::uno::Any( css::uno::RuntimeException( "wrapped std::exception " - + OUString::createFromAscii(e.what())))); + + o3tl::runtimeToOUString(e.what())))); } catch (...) { |