summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sax/source/expatwrap/saxwriter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx
index 1417fb644679..f0869b072bc4 100644
--- a/sax/source/expatwrap/saxwriter.cxx
+++ b/sax/source/expatwrap/saxwriter.cxx
@@ -241,7 +241,7 @@ inline sal_uInt32 SaxWriterHelper::writeSequence() throw( SAXException )
{
m_out->writeBytes( m_Sequence );
}
- catch( IOException & e )
+ catch (const IOException & e)
{
Any a;
a <<= e;
@@ -1125,7 +1125,7 @@ void SAXWriter::endDocument(void) throw(SAXException, RuntimeE
{
m_out->closeOutput();
}
- catch( IOException & e )
+ catch (const IOException & e)
{
Any a;
a <<= e;