[Libreoffice-commits] .: Branch 'libreoffice-3-4' - sc/source

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Nov 2 07:06:29 PDT 2011


 sc/source/core/tool/scmatrix.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 19e143362cd88917c0466d5133fa4ca63988c106
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Wed Nov 2 12:34:27 2011 +0100

    we need to use ValidColRowOrRepeated, silly mistake by me.
    
    Signed-off-by: Kohei Yoshida <kohei.yoshida at suse.com>

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 3074e36..912eef1 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;


More information about the Libreoffice-commits mailing list