summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-23 14:06:34 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-01-23 14:12:58 -0500
commit9ce7ba209d28cd284ab5ea584bc130d7a081b0f9 (patch)
treeab81e42fb7099e35fae61ac4f739c11578d06321
parente3133ae2371b6e2d4b47daa6a3487ea4f2753315 (diff)
fdo#73986: Don't forget to receive returned object from for_each.
Change-Id: Ia4ccb83c45ea3ce72a8e5c62a560ab1802bb2441
-rw-r--r--sc/source/core/data/column3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 7675271eec02..798d5444a570 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -2433,7 +2433,7 @@ public:
SCSIZE ScColumn::GetCellCount() const
{
CellCounter aFunc;
- std::for_each(maCells.begin(), maCells.end(), aFunc);
+ aFunc = std::for_each(maCells.begin(), maCells.end(), aFunc);
return aFunc.getCount();
}