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

New commits:
commit e9ca381275f42a445a7c8918230c6263258e53c6
Author: Mariusz Dykierek <mariuszdykie...@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.
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to