summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2007-11-21 15:32:44 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2007-11-21 15:32:44 +0000
commita8857e4dc24fef6908d06a2d4fb8f8c63227099c (patch)
treea8e563c9477e94044de615456188f24afadcc979 /forms
parent267a6995378fbe82298a906f8c2704dcd2572f3b (diff)
INTEGRATION: CWS dba24c (1.33.36); FILE MERGED
2007/09/13 20:57:31 fs 1.33.36.1: outsource the different calls to row set approval listeners into one method
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/DatabaseForm.hxx22
1 files changed, 20 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx
index b7bd01dc3666..336bd858c1d5 100644
--- a/forms/source/component/DatabaseForm.hxx
+++ b/forms/source/component/DatabaseForm.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: DatabaseForm.hxx,v $
*
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
- * last change: $Author: kz $ $Date: 2007-05-10 09:51:52 $
+ * last change: $Author: ihi $ $Date: 2007-11-21 16:32:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -580,6 +580,24 @@ private:
/// checks if we currently share our connection with our parent
sal_Bool isSharingConnection( ) const { return m_bSharingConnection; }
+ /** calls our row set approval listeners
+
+ @param _rEvent
+ the event to notify
+ @param _bAllowSQLException
+ <TRUE/> if SQLExceptions are allowed to leave the method
+ @param _rGuard
+ the guard to be cleared before actually calling into the listeners, but after making
+ a copy of the listeners array to operate on.
+ @return
+ <TRUE/> if and only if the execution has been approved
+ */
+ bool impl_approveRowChange_throw(
+ const ::com::sun::star::lang::EventObject& _rEvent,
+ const bool _bAllowSQLException,
+ ::osl::ClearableMutexGuard& _rGuard
+ );
+
/// invalidate all our parameter-related stuff
void invlidateParameters();