summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-08-27 10:23:05 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-08-27 10:24:58 -0400
commitb07708dd46443218919ae8d6c0abe421f75a82f8 (patch)
tree8a359002bffc0600ddfdf40cbbde4242183382da /sc
parent7334f8db6f6004d48e2dbf014f27878a7ae21eb1 (diff)
Fix the build.
Change-Id: I4d259c7bb8c043889ea23ae9056e2eb8a63d98c3
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/scmatrix.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 3bf042b733ca..9fbbbbca80bd 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; }