summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-14 22:27:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-14 22:27:00 +0100
commit0414f3d56b97749d638745d666a8a2596f98e6f9 (patch)
tree591742b9975d3afe52127e3548c7a10e19d89725 /sfx2
parenta52acb46cf8f4f7f10e56ef668c1adce22175df1 (diff)
catch by const reference
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/frmhtmlw.cxx6
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&)
{
}
}