summaryrefslogtreecommitdiff
path: root/basic/source/runtime/iosys.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-08-24 11:22:56 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-08-24 11:30:17 +0900
commite1a1091d0ae61ba46c6d063a92db0b7d1ce65942 (patch)
tree5cd7f5ba6ad9fc1e859263332b4f96167ac927ce /basic/source/runtime/iosys.cxx
parent8dfa38c418125ad880e9d4b2a968f0f1778d6de4 (diff)
catch ignored exceptions by const reference
Diffstat (limited to 'basic/source/runtime/iosys.cxx')
-rw-r--r--basic/source/runtime/iosys.cxx12
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;
}