summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxwindow1.cxx
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:47:26 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-22 22:47:26 +0100
commitf39607df602883c20c8769a1a2e77bcba1f880d9 (patch)
treeca0c677a6829f74fdc42d1763e95f1c0e40e70f3 /toolkit/source/awt/vclxwindow1.cxx
parent8c779305bca6b2ca4badadb1ed0c89dc092f287f (diff)
RTL_CONSTASCII_USTRINGPARAM in libs-gui 08
Diffstat (limited to 'toolkit/source/awt/vclxwindow1.cxx')
-rw-r--r--toolkit/source/awt/vclxwindow1.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxwindow1.cxx b/toolkit/source/awt/vclxwindow1.cxx
index f97f11f9320d..259b86368cc7 100644
--- a/toolkit/source/awt/vclxwindow1.cxx
+++ b/toolkit/source/awt/vclxwindow1.cxx
@@ -57,7 +57,7 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle )
{
::com::sun::star::uno::Exception *pException =
new ::com::sun::star::uno::RuntimeException;
- pException->Message = ::rtl::OUString::createFromAscii( "not a work window" );
+ pException->Message = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("not a work window"));
throw pException;
}
@@ -88,7 +88,7 @@ void VCLXWindow::SetSystemParent_Impl( const com::sun::star::uno::Any& rHandle )
{
::com::sun::star::uno::Exception *pException =
new ::com::sun::star::uno::RuntimeException;
- pException->Message = ::rtl::OUString::createFromAscii( "incorrect window handle type" );
+ pException->Message = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("incorrect window handle type"));
throw pException;
}
// create system parent data