[Libreoffice-commits] core.git: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sun Dec 2 22:07:45 UTC 2018
sc/source/core/tool/interpr1.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bbe7ce060b3b621e61b2f84a6be15c79f9afd1bb
Author: himajin100000 <himajin100000 at gmail.com>
AuthorDate: Wed Nov 28 07:29:53 2018 +0900
Commit: Eike Rathke <erack at redhat.com>
CommitDate: Sun Dec 2 23:07:22 2018 +0100
no need for approxFloor
Change-Id: Ie69be492f41e42714edea252af9054414b0b841a
Reviewed-on: https://gerrit.libreoffice.org/64134
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 a07f5a7ce1c6..7f2df7a54bf8 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -7982,7 +7982,7 @@ void ScInterpreter::ScIndirect()
// to determine which syntax to use during doc import
bool bTryXlA1 = (eConv == FormulaGrammar::CONV_A1_XL_A1);
- if (nParamCount == 2 && 0.0 == ::rtl::math::approxFloor( GetDouble()))
+ if (nParamCount == 2 && 0.0 == GetDouble() )
{
// Overwrite the config and try Excel R1C1.
eConv = FormulaGrammar::CONV_XL_R1C1;
More information about the Libreoffice-commits
mailing list