summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/gio/gio_outputstream.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-10 16:13:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-10 18:14:35 +0100
commit430e19e4f9c24985f855d5e607aaef63d110ddeb (patch)
treeda501bfabfe7c5520dd350463f1e970f035371dc /ucb/source/ucp/gio/gio_outputstream.cxx
parentf5c8a636a644d4b74450de29f11399f3f69f55a7 (diff)
coverity#1241375 Uncaught exception
and coverity#1241356 Uncaught exception coverity#1241415 Uncaught exception coverity#1241449 Uncaught exception coverity#1241146 Uncaught exception coverity#1241169 Uncaught exception coverity#1241408 Uncaught exception coverity#1241452 Uncaught exception coverity#1241443 Uncaught exception coverity#1241236 Uncaught exception coverity#1241157 Uncaught exception coverity#1241283 Uncaught exception coverity#1241409 Uncaught exception coverity#1241229 Uncaught exception coverity#1241387 Uncaught exception coverity#1241050 Uncaught exception coverity#1241371 Uncaught exception coverity#1241048 Uncaught exception coverity#1241112 Uncaught exception coverity#1241351 Uncaught exception coverity#1241370 Uncaught exception coverity#1241329 Uncaught exception coverity#1241162 Uncaught exception coverity#1241103 Uncaught exception coverity#1241342 Uncaught exception coverity#1241271 Uncaught exception coverity#1241219 Uncaught exception coverity#1241245 Uncaught exception Change-Id: I3418bb54b5c385110201a99a339eba0d0d3048f5
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 )