diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-16 23:24:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-19 14:05:09 -0400 |
commit | b4c774a51fab40569abf6298789f6dedfbebdd12 (patch) | |
tree | dd4815bdeeb621a7351cdd5925c3cb5bc6b4c9d7 /sc/source/core/data/validat.cxx | |
parent | c31905c88ca6160a2c12565e036f5aa02a5be086 (diff) |
Now, we need to explicitly pass 0.0 as the initial value of a matrix.
The new matrix class allows arbitrary initial values instead of just
0.0 or empty values. With this, the caller now has to explicitly pass
zero value to the constructor if it wants to create a matrix filled with
zeros.
Change-Id: Ie515358b512fdb83ae60f54ab4ab49c92ca5761d
Diffstat (limited to 'sc/source/core/data/validat.cxx')
-rw-r--r-- | sc/source/core/data/validat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/validat.cxx b/sc/source/core/data/validat.cxx index 4ccb551879dc..4dd8f2e4048c 100644 --- a/sc/source/core/data/validat.cxx +++ b/sc/source/core/data/validat.cxx @@ -628,7 +628,7 @@ bool ScValidationData::GetSelectionFromFormula( // is stored as a single value. // Use an interim matrix to create the TypedStrData below. - xMatRef = new ScMatrix(1,1); + xMatRef = new ScMatrix(1, 1, 0.0); sal_uInt16 nErrCode = aValidationSrc.GetErrCode(); if (nErrCode) |