Tag: cws_src680_oj14
User: fs      
Date: 2007-06-05 20:53:15+0000
Log:
 lock mutex in getParameters

File Changes:

Directory: /dba/dbaccess/source/core/api/
=========================================

File [changed]: RowSet.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/api/RowSet.cxx?r1=1.137.4.11&r2=1.137.4.12
Delta lines:  +5 -2
-------------------
--- RowSet.cxx  2007-06-05 20:50:31+0000        1.137.4.11
+++ RowSet.cxx  2007-06-05 20:53:12+0000        1.137.4.12
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: RowSet.cxx,v $
  *
- *  $Revision: 1.137.4.11 $
+ *  $Revision: 1.137.4.12 $
  *
- *  last change: $Author: fs $ $Date: 2007/06/05 20:50:31 $
+ *  last change: $Author: fs $ $Date: 2007/06/05 20:53:12 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -1554,6 +1554,9 @@
 // -------------------------------------------------------------------------
 Reference< XIndexAccess > SAL_CALL ORowSet::getParameters(  ) throw 
(RuntimeException)
 {
+       ::osl::MutexGuard aGuard( *m_pMutex );
+       ::connectivity::checkDisposed(ORowSet_BASE1::rBHelper.bDisposed);
+
     if ( m_bCommandFacetsDirty )
         // need to rebuild the parameters, since some property which 
contributes to the
         // complete command, and thus the parameters, changed




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to