[Libreoffice-commits] .: Branch 'feature/calc-matrix-rework' - sc/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Thu Dec 16 12:14:18 PST 2010
sc/source/core/tool/scmatrix.cxx | 1 -
1 file changed, 1 deletion(-)
New commits:
commit 8e9fdfa1315bc5af6cd7fd2731452dc5b4297efc
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Thu Dec 16 15:03:39 2010 -0500
Don't call Clear() after resizing a matrix.
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index d30eb3d..652b26a 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -245,7 +245,6 @@ bool ScMatrixImpl::IsImmutable() const
void ScMatrixImpl::Resize(SCSIZE nC, SCSIZE nR)
{
maMat.resize(nR, nC);
- Clear();
}
ScMatrix::DensityType ScMatrixImpl::GetDensityType() const
More information about the Libreoffice-commits
mailing list