Index: /trunk/src/VBox/Main/glue/EventQueue.cpp
===================================================================
--- /trunk/src/VBox/Main/glue/EventQueue.cpp	(revision 22915)
+++ /trunk/src/VBox/Main/glue/EventQueue.cpp	(revision 22916)
@@ -187,5 +187,5 @@
     return VINF_SUCCESS;
 
-  if (orc != kCFRunLoopRunTimedOut) 
+  if (orc != kCFRunLoopRunTimedOut)
   {
       NS_WARNING("Unexpected status code from CFRunLoopRunInMode");
@@ -210,5 +210,5 @@
             break;
         rc = VINF_SUCCESS;
-    }    
+    }
     return rc;
 }
@@ -218,12 +218,12 @@
 public:
   HANDLE mh;
-  
+
   MyThreadHandle()
   {
-    if (!DuplicateHandle(GetCurrentProcess(), 
-                         GetCurrentThread(), 
+    if (!DuplicateHandle(GetCurrentProcess(),
+                         GetCurrentThread(),
                          GetCurrentProcess(),
-                         &mh, 
-                         0 /*dwDesiredAccess*/, 
+                         &mh,
+                         0 /*dwDesiredAccess*/,
                          FALSE /*bInheritHandle*/,
                          DUPLICATE_SAME_ACCESS))
@@ -243,5 +243,5 @@
   /** @todo: rethink interruption events, current NULL event approach is bad */
   pQueue->ProcessPendingEvents();
-  return VINF_SUCCESS; 
+  return VINF_SUCCESS;
 }
 #endif
@@ -254,6 +254,6 @@
       PRBool fHasEvents = PR_FALSE;
       nsresult rc;
-      
-      rc = mEventQ->PendingEvents(&fHasEvents);     
+
+      rc = mEventQ->PendingEvents(&fHasEvents);
       if (NS_FAILED (rc))
           return VERR_INTERNAL_ERROR_3;
@@ -284,5 +284,5 @@
 #endif
       }
-      
+
       /* Bit tricky part - perform timed wait */
 #  ifdef RT_OS_DARWIN
@@ -292,8 +292,8 @@
       fd_set fdsetR, fdsetE;
       struct timeval tv;
-      
+
       FD_ZERO(&fdsetR);
       FD_SET(fd, &fdsetR);
-      
+
       fdsetE = fdsetR;
       tv.tv_sec = (PRInt64)cMsTimeout / 1000;
@@ -307,6 +307,6 @@
       else if (aCode < 0)
         rc = VERR_INTERNAL_ERROR_4;
-      
-#  endif      
+
+#  endif
     } while (0);
 
@@ -314,5 +314,5 @@
 #else /* Windows */
     do {
-        int aCode = processPendingEventsOnWindows();
+        int aCode = processPendingEvents();
         if (aCode != VERR_TIMEOUT || cMsTimeout == 0)
         {
@@ -320,9 +320,9 @@
             break;
         }
-        
+
         if (cMsTimeout == RT_INDEFINITE_WAIT)
         {
             Event* aEvent = NULL;
-          
+
             BOOL fHasEvent = waitForEvent(&aEvent);
             if (fHasEvent)
@@ -336,7 +336,7 @@
         MyThreadHandle aHandle;
 
-        DWORD aCode2 = MsgWaitForMultipleObjects(1, &aHandle.mh, 
-                                                 TRUE /*fWaitAll*/, 
-                                                 0 /*ms*/, 
+        DWORD aCode2 = MsgWaitForMultipleObjects(1, &aHandle.mh,
+                                                 TRUE /*fWaitAll*/,
+                                                 0 /*ms*/,
                                                  QS_ALLINPUT);
         if (aCode2 == WAIT_TIMEOUT)
@@ -485,3 +485,2 @@
 }
 /* namespace com */
-
