[Libreoffice-commits] .: sdext/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jan 23 04:58:56 PST 2012


 sdext/source/presenter/PresenterTimer.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e9ca381275f42a445a7c8918230c6263258e53c6
Author: Mariusz Dykierek <mariuszdykierek at gmail.com>
Date:   Mon Jan 23 12:58:10 2012 +0000

    A copy-paste bug detected by cppcheck

diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index 6c5f8d9..3757bd0 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -511,7 +511,7 @@ void PresenterClockTimer::CheckCurrentTime (const TimeValue& rCurrentTime)
         {
             if (aDateTime.Seconds != maDateTime.Seconds
                 || aDateTime.Minutes != maDateTime.Minutes
-                || aDateTime.Seconds != maDateTime.Seconds)
+                || aDateTime.Hours != maDateTime.Hours)
             {
                 // The displayed part of the current time has changed.
                 // Prepare to call the listeners.


More information about the Libreoffice-commits mailing list