[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source

Kohei Yoshida kohei.yoshida at collabora.com
Thu Jan 23 15:11:17 PST 2014


 sc/source/core/data/column3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 09048f24e2a978b043ce5ce8d076721d48ea9342
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Thu Jan 23 14:06:34 2014 -0500

    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 at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 7675271..798d544 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();
 }
 


More information about the Libreoffice-commits mailing list