summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2011-11-02 12:34:27 +0100
committerKohei Yoshida <kohei.yoshida@suse.com>2011-11-02 10:04:47 -0400
commit19e143362cd88917c0466d5133fa4ca63988c106 (patch)
tree2d9a4d2e8bf04e6025a345cbde1c4ac5785f5610
parent65d15137bae588574107680846097fe5c4d7c533 (diff)
we need to use ValidColRowOrRepeated, silly mistake by me.
Signed-off-by: Kohei Yoshida <kohei.yoshida@suse.com>
-rw-r--r--sc/source/core/tool/scmatrix.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 3074e3682..912eef1ed 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -592,7 +592,7 @@ bool ScMatrixImpl::IsEmpty( SCSIZE nC, SCSIZE nR ) const
bool ScMatrixImpl::IsEmptyPath( SCSIZE nC, SCSIZE nR ) const
{
// 'Empty path' is empty plus non-zero flag.
- if (ValidColRowReplicated( nC, nR ))
+ if (ValidColRowOrReplicated( nC, nR ))
return maMat.get_type(nR, nC) == ::mdds::element_empty && maMat.get_flag(nR, nC) != 0;
else
return true;