[Libreoffice-commits] .: sd/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Nov 25 01:45:18 PST 2010
sd/source/ui/framework/tools/FrameworkHelper.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7fd07a55dfbeb44be37e16080d76a1438c3abac6
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Nov 25 09:45:08 2010 +0000
cppcheck: FlagUpdater::operator()' can be const
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index b64f47e..48eb8fa 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -786,7 +786,7 @@ class FlagUpdater
{
public:
FlagUpdater (bool& rFlag) : mrFlag(rFlag) {}
- void operator() (bool) {mrFlag = true;}
+ void operator() (bool) const {mrFlag = true;}
private:
bool& mrFlag;
};
More information about the Libreoffice-commits
mailing list