diff options
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index 6801c5db644f..77654904e017 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -450,7 +450,7 @@ UCBStream::~UCBStream() xIS_->closeInput(); } } - catch( Exception & ) + catch(const Exception & ) { SetError( ERRCODE_IO_GENERAL ); } @@ -478,7 +478,7 @@ sal_uIntPtr UCBStream::GetData( void* pData, sal_uIntPtr nSize ) else SetError( ERRCODE_IO_GENERAL ); } - catch( Exception & ) + catch(const Exception & ) { SetError( ERRCODE_IO_GENERAL ); } @@ -505,7 +505,7 @@ sal_uIntPtr UCBStream::PutData( const void* pData, sal_uIntPtr nSize ) else SetError( ERRCODE_IO_GENERAL ); } - catch( Exception & ) + catch(const Exception & ) { SetError( ERRCODE_IO_GENERAL ); } @@ -527,7 +527,7 @@ sal_uIntPtr UCBStream::SeekPos( sal_uIntPtr nPos ) else SetError( ERRCODE_IO_GENERAL ); } - catch( Exception & ) + catch(const Exception & ) { SetError( ERRCODE_IO_GENERAL ); } @@ -546,7 +546,7 @@ void UCBStream::FlushData() else SetError( ERRCODE_IO_GENERAL ); } - catch( Exception & ) + catch(const Exception & ) { SetError( ERRCODE_IO_GENERAL ); } @@ -610,7 +610,7 @@ SbError SbiStream::Open } } - catch( Exception & ) + catch(const Exception & ) { nError = ERRCODE_IO_GENERAL; } |