summaryrefslogtreecommitdiff
path: root/scripting/source/stringresource/stringresource.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'scripting/source/stringresource/stringresource.cxx')
-rw-r--r--scripting/source/stringresource/stringresource.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripting/source/stringresource/stringresource.cxx b/scripting/source/stringresource/stringresource.cxx
index 967a799ce55a..abd83a0526b8 100644
--- a/scripting/source/stringresource/stringresource.cxx
+++ b/scripting/source/stringresource/stringresource.cxx
@@ -2552,8 +2552,7 @@ void StringResourceWithStorageImpl::setStorage( const Reference< XStorage >& Sto
if( !Storage.is() )
{
- ::rtl::OUString errorMsg(RTL_CONSTASCII_USTRINGPARAM
- ( "StringResourceWithStorageImpl::setStorage: invalid storage" ));
+ ::rtl::OUString errorMsg( "StringResourceWithStorageImpl::setStorage: invalid storage" );
throw IllegalArgumentException( errorMsg, Reference< XInterface >(), 0 );
}
@@ -2911,8 +2910,7 @@ void StringResourceWithLocationImpl::setURL( const ::rtl::OUString& URL )
sal_Int32 nLen = URL.getLength();
if( nLen == 0 )
{
- ::rtl::OUString errorMsg(RTL_CONSTASCII_USTRINGPARAM
- ( "StringResourceWithLocationImpl::setURL: invalid URL" ));
+ ::rtl::OUString errorMsg( "StringResourceWithLocationImpl::setURL: invalid URL" );
throw IllegalArgumentException( errorMsg, Reference< XInterface >(), 0 );
}