summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-08-15 10:52:38 +0200
committerEike Rathke <erack@redhat.com>2018-08-15 12:08:48 +0200
commit0815f3460fa8a595a085d853e96ffffb8ec0471f (patch)
treee547df16c6bb1b6d5d82207eced2310eb16ef94c /sc
parent1597dbb5ba5d68b5807236c1d045f5215f221c91 (diff)
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@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 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
{