diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 09:40:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-04-13 09:40:26 +0100 |
commit | f02937ddfbb8bbcd11c9ab6687dc97ce028413e2 (patch) | |
tree | a468d7dc62b4ad80bebaac7abc81a6bfc3f2432e /dbaccess/source/ui/app/AppController.cxx | |
parent | Merge remote-tracking branch 'origin/libreoffice-3-4' (diff) | |
download | core-f02937ddfbb8bbcd11c9ab6687dc97ce028413e2.tar.gz core-f02937ddfbb8bbcd11c9ab6687dc97ce028413e2.zip |
catch by const reference
Diffstat (limited to 'dbaccess/source/ui/app/AppController.cxx')
-rw-r--r-- | dbaccess/source/ui/app/AppController.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx index ee242ea29d33..f32d9b87b67b 100644 --- a/dbaccess/source/ui/app/AppController.cxx +++ b/dbaccess/source/ui/app/AppController.cxx @@ -446,7 +446,7 @@ void SAL_CALL OApplicationController::disposing() m_xModel.clear(); } } - catch(Exception) + catch(const Exception&) { DBG_UNHANDLED_EXCEPTION(); } @@ -468,10 +468,10 @@ sal_Bool OApplicationController::Construct(Window* _pParent) getContainer()->Construct(); bSuccess = sal_True; } - catch(SQLException&) + catch(const SQLException&) { } - catch(Exception&) + catch(const Exception&) { OSL_FAIL("OApplicationController::Construct : the construction of UnoDataBrowserView failed !"); } |