diff options
Diffstat (limited to 'io/source/stm')
-rw-r--r-- | io/source/stm/opump.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx index fc751b677f95..df3e6132319d 100644 --- a/io/source/stm/opump.cxx +++ b/io/source/stm/opump.cxx @@ -263,14 +263,14 @@ void Pump::run() if( ! rInput.is() ) { - throw NotConnectedException( "no input stream set", static_cast<OWeakObject*>(this) ); + throw NotConnectedException( "no input stream set", getXWeak() ); } Sequence< sal_Int8 > aData; while( rInput->readSomeBytes( aData, 65536 ) ) { if( ! rOutput.is() ) { - throw NotConnectedException( "no output stream set", static_cast<OWeakObject*>(this) ); + throw NotConnectedException( "no output stream set", getXWeak() ); } rOutput->writeBytes( aData ); osl_yieldThread(); |