[Libreoffice-commits] .: sc/source

Markus Mohrhard mmohrhard at kemper.freedesktop.org
Wed Nov 2 04:38:45 PDT 2011


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

New commits:
commit b03e931439c54f4abaa520cf11ed24560ca1709a
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 make

diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index 1767fce..dea2c28 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -591,7 +591,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