diff options
author | Ocke Janssen <oj@openoffice.org> | 2002-11-21 12:55:15 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2002-11-21 12:55:15 +0000 |
commit | 0f4b987972104f02750f6bdbf960dd60cb6401d7 (patch) | |
tree | 648b42a52571417b8f6c8b9c0bf9f163594c10df /dbaccess/source/ui/dlg/RelationDlg.cxx | |
parent | 865b8cc8a6c2b3c102243c85977b593710954342 (diff) |
#104812# check if current row is valid
Diffstat (limited to 'dbaccess/source/ui/dlg/RelationDlg.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/RelationDlg.cxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx index 46c642ba2b0c..4d37e921f7a2 100644 --- a/dbaccess/source/ui/dlg/RelationDlg.cxx +++ b/dbaccess/source/ui/dlg/RelationDlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: RelationDlg.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: oj $ $Date: 2002-11-08 09:25:38 $ + * last change: $Author: oj $ $Date: 2002-11-21 13:55:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -273,15 +273,18 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, pButton ) return 0L; } } - catch(SQLException& e) + catch(const SQLException& e) { ::dbaui::showError( SQLExceptionInfo(e), this, static_cast<OJoinTableView*>(GetParent())->getDesignView()->getController()->getORB()); } - catch(Exception&) + catch(const ElementExistException&) { - OSL_ENSURE(sal_False, "ORelationDialog, OKClickHdl: caught an exception!"); + } + catch(const Exception&) + { + //OSL_ENSURE(sal_False, "ORelationDialog, OKClickHdl: caught an exception!"); } m_bTriedOneUpdate = TRUE; |