diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-22 09:06:06 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-22 12:46:43 +0000 |
commit | ed7c80d3353bd21d9c278a209adb4e62669b3978 (patch) | |
tree | 68a8c518415b139a44f7ea9efc2e605ecabe859f /sw/source/ui/misc/glshell.cxx | |
parent | 3679b7651737eba53c3779126246e4f0292570eb (diff) |
these can be const
Diffstat (limited to 'sw/source/ui/misc/glshell.cxx')
-rw-r--r-- | sw/source/ui/misc/glshell.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/ui/misc/glshell.cxx b/sw/source/ui/misc/glshell.cxx index 7323737033b7..2dad9aa4b169 100644 --- a/sw/source/ui/misc/glshell.cxx +++ b/sw/source/ui/misc/glshell.cxx @@ -272,8 +272,9 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const String& rGroup, const String& rS uno::Reference< frame::XTitle > xTitle( xDocSh->GetModel(), uno::UNO_QUERY_THROW ); xTitle->setTitle( aDocTitle ); } - catch( uno::Exception& ) - {} + catch (const uno::Exception&) + { + } xDocSh->GetDoc()->GetIDocumentUndoRedo().DoUndo( bDoesUndo ); xDocSh->GetDoc()->ResetModified(); |