diff options
author | Eike Rathke <erack@redhat.com> | 2018-08-15 10:52:38 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-23 16:41:11 +0200 |
commit | 88897b74118fa6d269ce325aca6a4ac3ac1ae3de (patch) | |
tree | b8e5198ad3b445db8d936a33d1ed3c8e657e6cee | |
parent | 8a7062c02c54330c3b6be0471dbc8a74e60aa479 (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
(cherry picked from commit 0815f3460fa8a595a085d853e96ffffb8ec0471f)
Reviewed-on: https://gerrit.libreoffice.org/59494
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sc/source/core/tool/interpr1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx index 964b9e9e13a4..c78c0593e986 100644 --- a/sc/source/core/tool/interpr1.cxx +++ b/sc/source/core/tool/interpr1.cxx @@ -8083,7 +8083,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 { |