[Libreoffice-commits] .: 2 commits - sdext/source

David Tardon dtardon at kemper.freedesktop.org
Mon Nov 1 23:01:24 PDT 2010


 sdext/source/presenter/PresenterClock.cxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 1f6d89683634d7a4435f6619f1f873cdb78c96a1
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Nov 2 06:58:52 2010 +0100

    clean up a bit

diff --git a/sdext/source/presenter/PresenterClock.cxx b/sdext/source/presenter/PresenterClock.cxx
index cdef4a1..e2520bf 100644
--- a/sdext/source/presenter/PresenterClock.cxx
+++ b/sdext/source/presenter/PresenterClock.cxx
@@ -350,7 +350,6 @@ void PresenterClock::LateInit (void)
 
 void SAL_CALL PresenterClock::disposing (void)
 {
-    //    osl::MutexGuard aGuard (m_aMutex);
     if (mpTimer != NULL)
     {
         mpTimer->Stop();
@@ -398,9 +397,6 @@ void PresenterClock::UpdateTime (void)
 void SAL_CALL PresenterClock::disposing (const lang::EventObject& rEventObject)
     throw (RuntimeException)
 {
-    //    ::osl::MutexGuard aSolarGuard (::osl::Mutex::getGlobalMutex());
-    //    osl::MutexGuard aGuard (m_aMutex);
-
     if (rEventObject.Source == mxWindow)
     {
         mxWindow = NULL;
@@ -417,7 +413,6 @@ void SAL_CALL PresenterClock::disposing (const lang::EventObject& rEventObject)
 void SAL_CALL PresenterClock::windowPaint (const awt::PaintEvent& rEvent)
     throw (RuntimeException)
 {
-    (void)rEvent;
     ThrowIfDisposed();
     Paint(rEvent.UpdateRect);
 }
@@ -471,7 +466,6 @@ void SAL_CALL PresenterClock::windowHidden (const lang::EventObject& rEvent)
 void SAL_CALL PresenterClock::mousePressed (const css::awt::MouseEvent& rEvent)
     throw (css::uno::RuntimeException)
 {
-    (void)rEvent;
     if (rEvent.Buttons == awt::MouseButton::LEFT)
     {
         SetMode(mnMode+1);
commit d8d0a4304f3b8753f48637c644f660a995a101a5
Author: David Tardon <dtardon at redhat.com>
Date:   Tue Nov 2 06:55:08 2010 +0100

    remove uncecessary lock

diff --git a/sdext/source/presenter/PresenterClock.cxx b/sdext/source/presenter/PresenterClock.cxx
index 8fdb852..cdef4a1 100644
--- a/sdext/source/presenter/PresenterClock.cxx
+++ b/sdext/source/presenter/PresenterClock.cxx
@@ -419,7 +419,6 @@ void SAL_CALL PresenterClock::windowPaint (const awt::PaintEvent& rEvent)
 {
     (void)rEvent;
     ThrowIfDisposed();
-    ::osl::MutexGuard aSolarGuard (::osl::Mutex::getGlobalMutex());
     Paint(rEvent.UpdateRect);
 }
 


More information about the Libreoffice-commits mailing list