[Libreoffice-commits] core.git: sc/source

Kohei Yoshida kohei.yoshida at gmail.com
Tue Aug 27 07:23:55 PDT 2013


 sc/source/core/tool/scmatrix.cxx |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

New commits:
commit b07708dd46443218919ae8d6c0abe421f75a82f8
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date:   Tue Aug 27 10:23:05 2013 -0400

    Fix the build.
    
    Change-Id: I4d259c7bb8c043889ea23ae9056e2eb8a63d98c3

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 3bf042b..9fbbbbc 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -948,12 +948,14 @@ class WalkAndMatchElements : std::unary_function<MatrixImplType::element_block_n
 {
     vType maMatchValue;
     MatrixImplType::size_pair_type maSize;
-    size_t mnCol1, mnCol2;
-    size_t mnResult, mnIndex;
+    size_t mnCol1;
+    size_t mnCol2;
+    size_t mnResult;
+    size_t mnIndex;
 
 public:
     WalkAndMatchElements(vType aMatchValue, const MatrixImplType::size_pair_type& aSize, size_t nCol1, size_t nCol2)
-        : maMatchValue(aMatchValue), maSize(aSize), mnCol1(nCol1), mnCol2(nCol2), mnResult(size_t_MAX), mnIndex(0) {}
+        : maMatchValue(aMatchValue), maSize(aSize), mnCol1(nCol1), mnCol2(nCol2), mnResult(SCSIZE_MAX), mnIndex(0) {}
 
     size_t getMatching() const { return mnResult; }
 


More information about the Libreoffice-commits mailing list