summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_outputstream.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/gio/gio_outputstream.cxx')
-rw-r--r--ucb/source/ucp/gio/gio_outputstream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/gio/gio_outputstream.cxx b/ucb/source/ucp/gio/gio_outputstream.cxx
index b4e4c1291392..d8cf60f9aca6 100644
--- a/ucb/source/ucp/gio/gio_outputstream.cxx
+++ b/ucb/source/ucp/gio/gio_outputstream.cxx
@@ -49,7 +49,7 @@ void SAL_CALL OutputStream::writeBytes( const com::sun::star::uno::Sequence< sal
GError *pError=NULL;
if (!g_output_stream_write_all(G_OUTPUT_STREAM(mpStream), rData.getConstArray(), rData.getLength(), NULL, NULL, &pError))
- convertToException(pError, static_cast< cppu::OWeakObject * >(this));
+ convertToIOException(pError, static_cast< cppu::OWeakObject * >(this));
}
void SAL_CALL OutputStream::flush( void )
@@ -61,7 +61,7 @@ void SAL_CALL OutputStream::flush( void )
GError *pError=NULL;
if (!g_output_stream_flush(G_OUTPUT_STREAM(mpStream), NULL, &pError))
- convertToException(pError, static_cast< cppu::OWeakObject * >(this));
+ convertToIOException(pError, static_cast< cppu::OWeakObject * >(this));
}
void SAL_CALL OutputStream::closeOutput( void )