[Libreoffice-commits] .: Branch 'feature/matrix-new-backend' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Tue Jul 17 10:38:40 PDT 2012
sc/source/core/tool/scmatrix.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit aa19675567a745060e6f2b14258b83b09a0187f4
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Tue Jul 17 13:39:31 2012 -0400
Don't forget to initialize the flag matrix.
Change-Id: I02ca2b6fbe49530988a81d12b4e38d24c9046cf6
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index c667846..67f2ffb 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -444,10 +444,10 @@ private:
};
ScMatrixImpl::ScMatrixImpl(SCSIZE nC, SCSIZE nR) :
- maMat(nR, nC), pErrorInterpreter(NULL), mbCloneIfConst(true) {}
+ maMat(nR, nC), maMatFlag(nR, nC), pErrorInterpreter(NULL), mbCloneIfConst(true) {}
ScMatrixImpl::ScMatrixImpl(SCSIZE nC, SCSIZE nR, double fInitVal) :
- maMat(nR, nC, fInitVal), pErrorInterpreter(NULL), mbCloneIfConst(true) {}
+ maMat(nR, nC, fInitVal), maMatFlag(nR, nC), pErrorInterpreter(NULL), mbCloneIfConst(true) {}
ScMatrixImpl::~ScMatrixImpl()
{
@@ -457,6 +457,7 @@ ScMatrixImpl::~ScMatrixImpl()
void ScMatrixImpl::Clear()
{
maMat.clear();
+ maMatFlag.clear();
}
void ScMatrixImpl::SetImmutable(bool bVal)
More information about the Libreoffice-commits
mailing list