summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/swrenamexnameddlg.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-22 09:06:06 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-22 12:46:43 +0000
commited7c80d3353bd21d9c278a209adb4e62669b3978 (patch)
tree68a8c518415b139a44f7ea9efc2e605ecabe859f /sw/source/ui/utlui/swrenamexnameddlg.cxx
parent3679b7651737eba53c3779126246e4f0292570eb (diff)
these can be const
Diffstat (limited to 'sw/source/ui/utlui/swrenamexnameddlg.cxx')
-rw-r--r--sw/source/ui/utlui/swrenamexnameddlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/utlui/swrenamexnameddlg.cxx b/sw/source/ui/utlui/swrenamexnameddlg.cxx
index 143f3ca94789..e21739868644 100644
--- a/sw/source/ui/utlui/swrenamexnameddlg.cxx
+++ b/sw/source/ui/utlui/swrenamexnameddlg.cxx
@@ -103,7 +103,7 @@ IMPL_LINK(SwRenameXNamedDlg, OkHdl, OKButton*, EMPTYARG)
{
xNamed->setName(aNewNameED.GetText());
}
- catch(uno::RuntimeException&)
+ catch (const uno::RuntimeException&)
{
OSL_FAIL("name wasn't changed");
}