summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regexp/source/reclass.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexp/source/reclass.cxx b/regexp/source/reclass.cxx
index ed766fdc2503..214667bcc3e0 100644
--- a/regexp/source/reclass.cxx
+++ b/regexp/source/reclass.cxx
@@ -1689,7 +1689,7 @@ Regexpr::regex_compile()
sal_Unicode tmp = translit->transliterateChar2Char(c);
BUF_PUSH(tmp);
(*pending_exact)++;
- } catch (::com::sun::star::i18n::MultipleCharsOutputException e) {
+ } catch (const ::com::sun::star::i18n::MultipleCharsOutputException& e) {
::rtl::OUString o2( translit->transliterateChar2String( c));
sal_Int32 len2 = o2.getLength();
const sal_Unicode * k2 = o2.getStr();
@@ -2934,7 +2934,7 @@ Regexpr::set_list_bit(sal_Unicode c, sal_Unicode *b)
try {
sal_Unicode tmp = translit->transliterateChar2Char(c);
b[tmp / BYTEWIDTH] |= 1 << (tmp % BYTEWIDTH);
- } catch (::com::sun::star::i18n::MultipleCharsOutputException e) {
+ } catch (const ::com::sun::star::i18n::MultipleCharsOutputException& e) {
::rtl::OUString o2( translit->transliterateChar2String( c));
sal_Int32 len2 = o2.getLength();
const sal_Unicode * k2 = o2.getStr();