summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/virdev.cxx2
-rw-r--r--vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index fbd59bdb83b4..06560be47f08 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -148,7 +148,7 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
{
// do not abort but throw an exception, may be the current thread terminates anyway (plugin-scenario)
throw css::uno::RuntimeException(
- OUString( "Could not create system bitmap!" ),
+ "Could not create system bitmap!",
css::uno::Reference< css::uno::XInterface >() );
}
diff --git a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
index 541f640484d2..50a28ab9f477 100644
--- a/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
+++ b/vcl/unx/gtk/fpicker/SalGtkFilePicker.cxx
@@ -1545,7 +1545,7 @@ void SAL_CALL SalGtkFilePicker::initialize( const uno::Sequence<uno::Any>& aArgu
uno::Any aAny;
if( 0 == aArguments.getLength() )
throw lang::IllegalArgumentException(
- OUString( "no arguments" ),
+ "no arguments",
static_cast<XFilePicker2*>( this ), 1 );
aAny = aArguments[0];
@@ -1553,7 +1553,7 @@ void SAL_CALL SalGtkFilePicker::initialize( const uno::Sequence<uno::Any>& aArgu
if( ( aAny.getValueType() != cppu::UnoType<sal_Int16>::get()) &&
(aAny.getValueType() != cppu::UnoType<sal_Int8>::get()) )
throw lang::IllegalArgumentException(
- OUString( "invalid argument type" ),
+ "invalid argument type",
static_cast<XFilePicker2*>( this ), 1 );
sal_Int16 templateId = -1;
@@ -1648,7 +1648,7 @@ void SAL_CALL SalGtkFilePicker::initialize( const uno::Sequence<uno::Any>& aArgu
break;
default:
throw lang::IllegalArgumentException(
- OUString( "Unknown template" ),
+ "Unknown template",
static_cast< XFilePicker2* >( this ),
1 );
}