diff options
Diffstat (limited to 'toolkit/source/awt/vclxwindow1.cxx')
-rw-r--r-- | toolkit/source/awt/vclxwindow1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx index a55245cafc68..2bc54416d64c 100644 --- a/toolkit/source/awt/vclxwindow1.cxx +++ b/toolkit/source/awt/vclxwindow1.cxx @@ -39,7 +39,7 @@ void VCLXWindow::SetSystemParent_Impl(const css::uno::Any& rHandle) VclPtr<vcl::Window> pWindow = GetWindow(); if (pWindow->GetType() != WindowType::WORKWINDOW) { - throw css::uno::RuntimeException("not a work window"); + throw css::uno::RuntimeException(u"not a work window"_ustr); } // use sal_Int64 here to accommodate all int types @@ -65,7 +65,7 @@ void VCLXWindow::SetSystemParent_Impl(const css::uno::Any& rHandle) } if (bThrow) { - throw css::uno::RuntimeException("incorrect window handle type"); + throw css::uno::RuntimeException(u"incorrect window handle type"_ustr); } // create system parent data SystemParentData aSysParentData; |