Tag: cws_src680_warnings01
User: sb      
Date: 06/01/25 12:57:42

Modified:
 /dba/connectivity/source/drivers/mozab/
  MResultSet.hxx

Log:
 RESYNC: (1.9-1.10); FILE MERGED

File Changes:

Directory: /dba/connectivity/source/drivers/mozab/
==================================================

File [changed]: MResultSet.hxx
Url: 
http://dba.openoffice.org/source/browse/dba/connectivity/source/drivers/mozab/MResultSet.hxx?r1=1.9.30.4&r2=1.9.30.5
Delta lines:  +22 -3
--------------------
--- MResultSet.hxx      22 Dec 2005 12:14:44 -0000      1.9.30.4
+++ MResultSet.hxx      25 Jan 2006 20:57:38 -0000      1.9.30.5
@@ -370,6 +370,16 @@
                 const ::com::sun::star::uno::Reference< 
::com::sun::star::sdbc::XDatabaseMetaData>& _xMetaData,
                 ::std::vector<sal_Int32>& _rColMapping);
 
+            ::osl::Mutex&   getMutex() { return m_aMutex; }
+            void            methodEntry();
+
+            private:
+                inline void impl_ensureKeySet()
+                {
+                       if ( !m_pKeySet.isValid() )
+                               m_pKeySet = new OKeySet();
+                }
+
         protected:
             using OPropertySetHelper::getFastPropertyValue;
                };
@@ -386,6 +396,15 @@
 
             return map;
         }
+
+        class ResultSetEntryGuard : public ::osl::MutexGuard
+        {
+        public:
+            ResultSetEntryGuard( OResultSet& _rRS ) : ::osl::MutexGuard( 
_rRS.getMutex() )
+            {
+                _rRS.methodEntry();
+            }
+        };
 
        }
 }




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

Reply via email to