summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/JoinController.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-07-08 07:15:44 +0000
committerOcke Janssen <oj@openoffice.org>2002-07-08 07:15:44 +0000
commit943ae47975329ebf6ccb7826f47c208d394d0006 (patch)
treee38a6547370f15d28bd998f2b7f4af4a78a3ab0b /dbaccess/source/ui/querydesign/JoinController.cxx
parentd96cfd40deedc4a1aa0c57623d90a0e24727b0d6 (diff)
#97156# check if we are already suspended
Diffstat (limited to 'dbaccess/source/ui/querydesign/JoinController.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/JoinController.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx
index b5bafd7c6..e1a04fca8 100644
--- a/dbaccess/source/ui/querydesign/JoinController.cxx
+++ b/dbaccess/source/ui/querydesign/JoinController.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: JoinController.cxx,v $
*
- * $Revision: 1.25 $
+ * $Revision: 1.26 $
*
- * last change: $Author: oj $ $Date: 2002-05-29 08:30:22 $
+ * last change: $Author: oj $ $Date: 2002-07-08 08:15:30 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -431,9 +431,12 @@ void OJoinController::AddSupportedFeatures()
m_aSupportedFeatures[ ::rtl::OUString::createFromAscii(".uno:DB/AddTable")] = ID_BROWSER_ADDTABLE;
}
// -----------------------------------------------------------------------------
-sal_Bool SAL_CALL OJoinController::suspend(sal_Bool bSuspend) throw( RuntimeException )
+sal_Bool SAL_CALL OJoinController::suspend(sal_Bool _bSuspend) throw( RuntimeException )
{
- return saveModified() != RET_CANCEL;
+ sal_Bool bCheck = saveModified() != RET_CANCEL;
+ if ( bCheck )
+ OSingleDocumentController::suspend(_bSuspend);
+ return bCheck;
}
// -----------------------------------------------------------------------------