diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:40 +0200 |
commit | ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch) | |
tree | 2ce9446ed312a1a7aed53183b19ecc9fefabea8a /vcl | |
parent | f0ae48b684e89acd7088c31a8feff5fc03d51105 (diff) |
remove more unnecesary OUString constructor use
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/osx/clipboard.cxx | 2 | ||||
-rw-r--r-- | vcl/source/window/window.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx index 8a223f5f3e12..1f444ca7c0c7 100644 --- a/vcl/osx/clipboard.cxx +++ b/vcl/osx/clipboard.cxx @@ -113,7 +113,7 @@ AquaClipboard::AquaClipboard(NSPasteboard* pasteboard, bool bUseSystemPasteboard [mPasteboard release]; throw RuntimeException( - OUString("AquaClipboard: Cannot create pasteboard change listener"), + "AquaClipboard: Cannot create pasteboard change listener", static_cast<XClipboardEx*>(this)); } diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx index f16e6bd6cec4..e04652af8b35 100644 --- a/vcl/source/window/window.cxx +++ b/vcl/source/window/window.cxx @@ -965,7 +965,7 @@ void Window::ImplInit( Window* pParent, WinBits nStyle, SystemParentData* pSyste { // do not abort but throw an exception, may be the current thread terminates anyway (plugin-scenario) throw RuntimeException( - OUString( "Could not create system window!" ), + "Could not create system window!", Reference< XInterface >() ); } |