[Libreoffice-commits] .: dbaccess/inc dbaccess/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Sun Oct 10 19:40:39 PDT 2010


 dbaccess/inc/pch/precompiled_dbaccess.hxx |    1 -
 dbaccess/source/ui/browser/sbagrid.cxx    |    4 ++--
 dbaccess/source/ui/inc/brwctrlr.hxx       |    2 +-
 3 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit a5aeb902a7145b4863695abc989855a6766e4c3d
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Oct 10 21:28:59 2010 -0500

    merge vosremoval-thread patch

diff --git a/dbaccess/inc/pch/precompiled_dbaccess.hxx b/dbaccess/inc/pch/precompiled_dbaccess.hxx
index f16091d..a88dbdb 100644
--- a/dbaccess/inc/pch/precompiled_dbaccess.hxx
+++ b/dbaccess/inc/pch/precompiled_dbaccess.hxx
@@ -501,7 +501,6 @@
 #include "vos/mutex.hxx"
 #include "vos/ref.hxx"
 #include "vos/refernce.hxx"
-#include "vos/thread.hxx"
 
 #include "xmloff/ProgressBarHelper.hxx"
 #include "xmloff/XMLConstantsPropertyHandler.hxx"
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index 81d85df..1c12ed3 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -440,7 +440,7 @@ IMPL_LINK( SbaXGridPeer, OnDispatchEvent, void*, /*NOTINTERESTEDIN*/ )
     SbaGridControl* pGrid = static_cast< SbaGridControl* >( GetWindow() );
     if ( pGrid )	// if this fails, we were disposing before arriving here
     {
-        if ( Application::GetMainThreadIdentifier() != ::vos::OThread::getCurrentIdentifier() )
+        if ( Application::GetMainThreadIdentifier() != ::osl::Thread::getCurrentIdentifier() )
         {
             // still not in the main thread (see SbaXGridPeer::dispatch). post an event, again
             // without moving the special even to the back of the queue
@@ -480,7 +480,7 @@ void SAL_CALL SbaXGridPeer::dispatch(const URL& aURL, const Sequence< PropertyVa
     if (!pGrid)
         return;
 
-    if ( Application::GetMainThreadIdentifier() != ::vos::OThread::getCurrentIdentifier() )
+    if ( Application::GetMainThreadIdentifier() != ::osl::Thread::getCurrentIdentifier() )
     {
         // we're not in the main thread. This is bad, as we want to raise windows here,
         // and VCL does not like windows to be opened in non-main threads (at least on Win32).
diff --git a/dbaccess/source/ui/inc/brwctrlr.hxx b/dbaccess/source/ui/inc/brwctrlr.hxx
index 1a11935..517bf0e 100644
--- a/dbaccess/source/ui/inc/brwctrlr.hxx
+++ b/dbaccess/source/ui/inc/brwctrlr.hxx
@@ -52,7 +52,7 @@
 #include <vcl/timer.hxx>
 #include <svtools/transfer.hxx>
 #include <osl/mutex.hxx>
-#include <vos/thread.hxx>
+#include <osl/thread.hxx>
 #include <cppuhelper/implbase9.hxx>
 #include <svtools/cliplistener.hxx>
 


More information about the Libreoffice-commits mailing list