diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-15 10:16:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-16 09:04:08 +0100 |
commit | 2b4d91f5a3738e0b71583769b3a69d6a6211d7ca (patch) | |
tree | 4bb778940aeaca85ba5fff74436f35640e6500a5 /sax | |
parent | 82eb8062f0c48726a3cedd39f567cbff7e0b9aeb (diff) |
catch by const reference
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 4 |
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; |