summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/RelationDlg.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-26 13:49:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-26 13:49:00 +0000
commit61a5c345da21ecbe56474b47eab3f8452932f277 (patch)
tree5d4e16c419891e3dccc7df1d48d53527806403e0 /dbaccess/source/ui/dlg/RelationDlg.cxx
parentb7518d3dbcc754316aa70b680a0bb94d9b7d3846 (diff)
INTEGRATION: CWS dba24a (1.24.18); FILE MERGED
2007/09/25 11:24:07 oj 1.24.18.1: #i81922# new method to compare relation data
Diffstat (limited to 'dbaccess/source/ui/dlg/RelationDlg.cxx')
-rw-r--r--dbaccess/source/ui/dlg/RelationDlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/RelationDlg.cxx b/dbaccess/source/ui/dlg/RelationDlg.cxx
index 64f11f448afe..78e039088648 100644
--- a/dbaccess/source/ui/dlg/RelationDlg.cxx
+++ b/dbaccess/source/ui/dlg/RelationDlg.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: RelationDlg.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: rt $ $Date: 2007-07-06 08:12:09 $
+ * last change: $Author: hr $ $Date: 2007-09-26 14:49:00 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -247,7 +247,7 @@ IMPL_LINK( ORelationDialog, OKClickHdl, Button*, /*pButton*/ )
// try to create the relation
try
{
- if (m_pConnData->Update())
+ if (*m_pConnData != *m_pOrigConnData || m_pConnData->Update())
{
m_pOrigConnData->CopyFrom( *m_pConnData );
EndDialog( RET_OK );