summaryrefslogtreecommitdiff
path: root/forms/source/runtime
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-01-15 12:47:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-01-15 12:47:47 +0000
commit4c76b6ce556e03aa99347b92bfc691feb9ef1ffc (patch)
treec6b8efd1f1ae74e5fb6954c7bd968bfc80f634db /forms/source/runtime
parent2b6afac42bca8831bce1e183c4ebea22b6a913a6 (diff)
INTEGRATION: CWS dba22b (1.3.4); FILE MERGED
2007/01/04 10:15:55 fs 1.3.4.2: commitCurrentRecord needs a MethodGuard 2006/12/19 08:19:02 fs 1.3.4.1: #i10000#
Diffstat (limited to 'forms/source/runtime')
-rw-r--r--forms/source/runtime/formoperations.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/forms/source/runtime/formoperations.cxx b/forms/source/runtime/formoperations.cxx
index 21a03b2a4d88..3d66878eee93 100644
--- a/forms/source/runtime/formoperations.cxx
+++ b/forms/source/runtime/formoperations.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: formoperations.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2006-12-05 15:26:35 $
+ * last change: $Author: vg $ $Date: 2007-01-15 13:47:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -760,8 +760,7 @@ namespace frm
sal_Int32 nPosition = -1;
::comphelper::NamedValueCollection aArguments( _rArguments );
- if ( !aArguments.getIfExists_ensureType( "Position", nPosition ) )
- throw IllegalArgumentException( ::rtl::OUString(), *this, 2 );
+ aArguments.get_ensureType( "Position", nPosition );
if ( nPosition < 1 )
nPosition = 1;
@@ -798,7 +797,7 @@ namespace frm
//--------------------------------------------------------------------
::sal_Bool SAL_CALL FormOperations::commitCurrentRecord( ::sal_Bool& _out_rRecordInserted ) throw (RuntimeException, SQLException)
{
- ::osl::ClearableMutexGuard aGuard( m_aMutex );
+ MethodGuard aGuard( *this );
_out_rRecordInserted = sal_False;
return impl_commitCurrentRecord_throw( &_out_rRecordInserted );