summaryrefslogtreecommitdiff
path: root/io/test/stm/datatest.cxx
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2011-12-15 13:51:29 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2011-12-15 13:52:23 +0900
commit0f44079ce20ece1931c40f62584013ac6d1668e4 (patch)
treee18d86d4feac4d33f81f03eddf12d53c4391eba9 /io/test/stm/datatest.cxx
parent535e37abdb43cf41990fcbd0ef85315b2413c4e3 (diff)
catch exception by constant reference
Diffstat (limited to 'io/test/stm/datatest.cxx')
-rw-r--r--io/test/stm/datatest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index acfc13288aa7..47b77697500e 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -213,7 +213,7 @@ sal_Int32 ODataStreamTest::test(
}
}
}
- catch( Exception & e )
+ catch( const Exception & e )
{
OString o = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US );
BUILD_ERROR( 0 , o.getStr() );
@@ -796,7 +796,7 @@ sal_Int32 OObjectStreamTest::test( const OUString& TestName,
}
}
- catch( Exception &e ) {
+ catch( const Exception &e ) {
OString o = OUStringToOString( e.Message , RTL_TEXTENCODING_ASCII_US );
BUILD_ERROR( 0 , o.getStr() );
}