summaryrefslogtreecommitdiff
path: root/xmlscript/test
diff options
context:
space:
mode:
Diffstat (limited to 'xmlscript/test')
-rw-r--r--xmlscript/test/imexp.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx
index af53c972364e..eadedce6b0ff 100644
--- a/xmlscript/test/imexp.cxx
+++ b/xmlscript/test/imexp.cxx
@@ -88,7 +88,7 @@ Reference< XComponentContext > createInitialComponentContext(
return defaultBootstrap_InitialComponentContext( unorc );
}
- catch( Exception& rExc )
+ catch( const Exception& rExc )
{
OString aStr( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) );
OSL_FAIL( aStr.getStr() );
@@ -213,7 +213,7 @@ void MyApp::Main()
exportToFile( aParam2.getStr(), xModel, xContext );
}
}
- catch (xml::sax::SAXException & rExc)
+ catch (const xml::sax::SAXException & rExc)
{
OString aStr( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) );
uno::Exception exc;
@@ -224,7 +224,7 @@ void MyApp::Main()
}
OSL_FAIL( aStr.getStr() );
}
- catch (uno::Exception & rExc)
+ catch (const uno::Exception & rExc)
{
OString aStr( OUStringToOString( rExc.Message, RTL_TEXTENCODING_ASCII_US ) );
OSL_FAIL( aStr.getStr() );