summaryrefslogtreecommitdiff
path: root/io/source/stm
diff options
context:
space:
mode:
Diffstat (limited to 'io/source/stm')
-rw-r--r--io/source/stm/omark.cxx2
-rw-r--r--io/source/stm/opump.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx
index b99d8ed948d2..792920c2667a 100644
--- a/io/source/stm/omark.cxx
+++ b/io/source/stm/omark.cxx
@@ -730,7 +730,7 @@ void OMarkableInputStream::skipBytes(sal_Int32 nBytesToSkip)
{
if ( nBytesToSkip < 0 )
throw BufferSizeExceededException(
- ::rtl::OUString::createFromAscii( "precondition not met: XInputStream::skipBytes: non-negative integer required!" ),
+ ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("precondition not met: XInputStream::skipBytes: non-negative integer required!")),
*this
);
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 );