summaryrefslogtreecommitdiff
path: root/io/source/stm/opump.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm/opump.cxx')
-rw-r--r--io/source/stm/opump.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx
index 5b3181fa5844..0d20908daae1 100644
--- a/io/source/stm/opump.cxx
+++ b/io/source/stm/opump.cxx
@@ -280,7 +280,7 @@ void Pump::run()
if( ! rInput.is() )
{
NotConnectedException exception(
- OUString::createFromAscii( "no input stream set" ) , Reference<XInterface>((OWeakObject*)this) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM("no input stream set")) , Reference<XInterface>((OWeakObject*)this) );
throw exception;
}
Sequence< sal_Int8 > aData;
@@ -289,7 +289,7 @@ void Pump::run()
if( ! rOutput.is() )
{
NotConnectedException exception(
- OUString::createFromAscii( "no output stream set" ) , Reference<XInterface>( (OWeakObject*)this) );
+ OUString(RTL_CONSTASCII_USTRINGPARAM("no output stream set")) , Reference<XInterface>( (OWeakObject*)this) );
throw exception;
}
rOutput->writeBytes( aData );