Kaydet (Commit) 608fdfe1 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Don't forget to initialize the flag matrix.

Change-Id: I02ca2b6fbe49530988a81d12b4e38d24c9046cf6
üst cc720601
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment