[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Aug 15 10:09:13 UTC 2018


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

New commits:
commit 0815f3460fa8a595a085d853e96ffffb8ec0471f
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Wed Aug 15 10:52:38 2018 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Wed Aug 15 12:08:48 2018 +0200

    Resolves: tdf#119034 do not floor() for Logical A1
    
    Either it is 0.0 or it is not.
    
    Change-Id: I8e170e08b7a26ade65ca3b8db26a2d8c581e444c
    Reviewed-on: https://gerrit.libreoffice.org/59057
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Jenkins

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 291aa746a75f..52155b79a4df 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -8068,7 +8068,7 @@ void ScInterpreter::ScAddressFunc()
         sTabStr = GetString().getString();
 
     FormulaGrammar::AddressConvention eConv = FormulaGrammar::CONV_OOO;      // default
-    if( nParamCount >= 4 && 0.0 == ::rtl::math::approxFloor( GetDoubleWithDefault( 1.0)))
+    if (nParamCount >= 4 && 0.0 == GetDoubleWithDefault( 1.0))
         eConv = FormulaGrammar::CONV_XL_R1C1;
     else
     {


More information about the Libreoffice-commits mailing list