summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-01-23 14:06:34 -0500
committerEike Rathke <erack@redhat.com>2014-01-23 23:10:53 +0000
commit09048f24e2a978b043ce5ce8d076721d48ea9342 (patch)
treef3e66348bf325b17a0ac05cfc5f40e033b4cf4df /sc
parentdbc758affabcac8a93e44bada0ae59e556c9cdbf (diff)
fdo#73986: Don't forget to receive returned object from for_each.
Change-Id: Ia4ccb83c45ea3ce72a8e5c62a560ab1802bb2441 (cherry picked from commit 9ce7ba209d28cd284ab5ea584bc130d7a081b0f9) Reviewed-on: https://gerrit.libreoffice.org/7620 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-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();
}