[Libreoffice-commits] .: sdext/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Nov 25 08:06:17 PST 2010
sdext/source/presenter/PresenterTimer.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d53404a39d2dedb06e164f860c9b7148b3e0e714
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 25 11:55:56 2010 +0000
cppcheck: methods can be const
diff --git a/sdext/source/presenter/PresenterTimer.cxx b/sdext/source/presenter/PresenterTimer.cxx
index 646c751..af4598a 100644
--- a/sdext/source/presenter/PresenterTimer.cxx
+++ b/sdext/source/presenter/PresenterTimer.cxx
@@ -68,7 +68,7 @@ typedef ::boost::shared_ptr<TimerTask> SharedTimerTask;
class TimerTaskComparator
{
public:
- bool operator() (const SharedTimerTask& rpTask1, const SharedTimerTask& rpTask2)
+ bool operator() (const SharedTimerTask& rpTask1, const SharedTimerTask& rpTask2) const
{
return rpTask1->maDueTime.Seconds < rpTask2->maDueTime.Seconds
|| (rpTask1->maDueTime.Seconds == rpTask2->maDueTime.Seconds
More information about the Libreoffice-commits
mailing list