Attached patch fixes a copy-paste error in the condition.
Seconds used twice instead of Hours.

-- 
Pozdrawiam,
Mariusz Dykerek

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 mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to