summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorMariusz Dykierek <mariuszdykierek@gmail.com>2012-01-23 12:58:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-23 12:58:10 +0000
commite9ca381275f42a445a7c8918230c6263258e53c6 (patch)
tree3777ac39099734c951675e055c27b26a2a74718e /sdext
parent1bc228f769be2999c10beefe224517804bb0316c (diff)
A copy-paste bug detected by cppcheck
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterTimer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index 6c5f8d9aa5e8..3757bd0e06d8 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.