summaryrefslogtreecommitdiff
path: root/i18npool/source/paper
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/paper')
-rw-r--r--i18npool/source/paper/paper.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/i18npool/source/paper/paper.cxx b/i18npool/source/paper/paper.cxx
index 913cc7d834ed..fe376184edba 100644
--- a/i18npool/source/paper/paper.cxx
+++ b/i18npool/source/paper/paper.cxx
@@ -247,7 +247,7 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
// try user-defined locale setting
xConfigNA->getByName( CREATE_OUSTRING( "ooSetupSystemLocale" ) ) >>= aLocaleStr;
}
- catch( Exception& )
+ catch(const Exception&)
{
}
@@ -377,7 +377,9 @@ PaperInfo PaperInfo::getSystemDefaultPaper()
xConfigNA->getByName( CREATE_OUSTRING( "Locale" ) ) >>= aLocaleStr;
}
}
- catch( Exception& ) {}
+ catch(const Exception&)
+ {
+ }
if (aLocaleStr.getLength() == 0)
aLocaleStr = CREATE_OUSTRING("en-US");