summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-15 10:16:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-16 09:04:08 +0100
commit2b4d91f5a3738e0b71583769b3a69d6a6211d7ca (patch)
tree4bb778940aeaca85ba5fff74436f35640e6500a5 /sax
parent82eb8062f0c48726a3cedd39f567cbff7e0b9aeb (diff)
catch by const reference
Diffstat (limited to 'sax')
-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;