diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:27:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 22:27:00 +0100 |
commit | 0414f3d56b97749d638745d666a8a2596f98e6f9 (patch) | |
tree | 591742b9975d3afe52127e3548c7a10e19d89725 /sfx2 | |
parent | a52acb46cf8f4f7f10e56ef668c1adce22175df1 (diff) |
catch by const reference
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/bastyp/frmhtmlw.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index 28a381aa07b4..be086d13190f 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -249,7 +249,9 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const String& rBaseURL, valstr.EraseTrailingChars(); OutMeta( rStrm, pIndent, name, valstr, sal_False, eDestEnc, pNonConvertableChars ); - } catch (uno::Exception &) { + } + catch (const uno::Exception&) + { // may happen with concurrent modification... DBG_WARNING("SfxFrameHTMLWriter::Out_DocInfo: exception"); } @@ -332,7 +334,7 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( } rOut << sOut.getStr(); } - catch (uno::Exception& ) + catch (const uno::Exception&) { } } |