summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorhimajin100000 <himajin100000@gmail.com>2018-11-28 07:29:53 +0900
committerEike Rathke <erack@redhat.com>2018-12-02 23:07:22 +0100
commitbbe7ce060b3b621e61b2f84a6be15c79f9afd1bb (patch)
treea093b35c3f8dd7a9617c89851733ce2f053d08fe /sc
parent4f47b7a792c12c6f343073930098056b5e4ae1a9 (diff)
no need for approxFloor
Change-Id: Ie69be492f41e42714edea252af9054414b0b841a Reviewed-on: https://gerrit.libreoffice.org/64134 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/tool/interpr1.cxx2
1 files changed, 1 insertions, 1 deletions
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;