Kaydet (Commit) 9ce7ba20 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

fdo#73986: Don't forget to receive returned object from for_each.

Change-Id: Ia4ccb83c45ea3ce72a8e5c62a560ab1802bb2441
üst e3133ae2
...@@ -2433,7 +2433,7 @@ public: ...@@ -2433,7 +2433,7 @@ public:
SCSIZE ScColumn::GetCellCount() const SCSIZE ScColumn::GetCellCount() const
{ {
CellCounter aFunc; CellCounter aFunc;
std::for_each(maCells.begin(), maCells.end(), aFunc); aFunc = std::for_each(maCells.begin(), maCells.end(), aFunc);
return aFunc.getCount(); return aFunc.getCount();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment