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/lingu | |
parent | 3679b7651737eba53c3779126246e4f0292570eb (diff) |
these can be const
Diffstat (limited to 'sw/source/ui/lingu')
-rw-r--r-- | sw/source/ui/lingu/olmenu.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/lingu/olmenu.cxx b/sw/source/ui/lingu/olmenu.cxx index 7133237583c1..6d8599eab662 100644 --- a/sw/source/ui/lingu/olmenu.cxx +++ b/sw/source/ui/lingu/olmenu.cxx @@ -373,7 +373,7 @@ OUString RetrieveLabelFromCommand( const OUString& aCmdURL ) aLabel = aStr; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { } } @@ -853,7 +853,7 @@ void SwSpellPopup::Execute( sal_uInt16 nId ) xSystemShellExecute->execute( sExplanationLink, rtl::OUString(), com::sun::star::system::SystemShellExecuteFlags::DEFAULTS ); } - catch ( uno::Exception& ) + catch (const uno::Exception&) { uno::Any exc( ::cppu::getCaughtException() ); rtl::OUString msg( ::comphelper::anyToString( exc ) ); |