[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Eike Rathke erack at redhat.com
Wed Aug 26 08:59:24 PDT 2015


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

New commits:
commit 656b39e18ec9cc34c06269657339e66801180f38
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Aug 26 15:58:35 2015 +0000

    Revert "do not parse range fragments as valid ranges"
    
    This reverts commit 350b00af0a1d0bf516ac308e21849ece77acbaf6.
    
    Breaks CppunitTest_sc_subsequent_filters_test
    
    Change-Id: I92963fa16aacbf01f4d6660eff7497347538371d
    Reviewed-on: https://gerrit.libreoffice.org/18029
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/core/tool/address.cxx b/sc/source/core/tool/address.cxx
index 0920eb9..fa34c64 100644
--- a/sc/source/core/tool/address.cxx
+++ b/sc/source/core/tool/address.cxx
@@ -1521,7 +1521,7 @@ static sal_uInt16 lcl_ScRange_Parse_OOo( ScRange& rRange,
                     nRes2 |= SCA_COL_ABSOLUTE;
                 }
             }
-            if ((nRes1 & SCA_VALID) && (nRes2 & SCA_VALID))
+            if (nRes1 && nRes2)
             {
                 // PutInOrder / Justify
                 sal_uInt16 nMask, nBits1, nBits2;


More information about the Libreoffice-commits mailing list