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/dlg/queryfilter.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/dlg/queryfilter.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/queryfilter.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx index 75ed025ac6df..3d52af736216 100644 --- a/dbaccess/source/ui/dlg/queryfilter.cxx +++ b/dbaccess/source/ui/dlg/queryfilter.cxx @@ -189,7 +189,7 @@ DlgFilterCrit::DlgFilterCrit(Window * pParent, fillLines(aValues); } - catch(Exception&) + catch(const Exception&) { FreeResource(); throw; @@ -365,7 +365,7 @@ sal_Bool DlgFilterCrit::getCondition(const ListBox& _rField,const ListBox& _rCom } } } - catch(Exception) + catch(const Exception&) { } @@ -846,7 +846,7 @@ void DlgFilterCrit::BuildWherePart() m_xQueryComposer->setStructuredFilter(aFilter); m_xQueryComposer->setStructuredHavingClause(aHaving); } - catch(Exception) + catch(const Exception&) { DBG_UNHANDLED_EXCEPTION(); } |