Kaydet (Commit) 0815f346 authored tarafından Eike Rathke's avatar Eike Rathke

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/59057Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: Jenkins
üst 1597dbb5
...@@ -8068,7 +8068,7 @@ void ScInterpreter::ScAddressFunc() ...@@ -8068,7 +8068,7 @@ void ScInterpreter::ScAddressFunc()
sTabStr = GetString().getString(); sTabStr = GetString().getString();
FormulaGrammar::AddressConvention eConv = FormulaGrammar::CONV_OOO; // default 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; eConv = FormulaGrammar::CONV_XL_R1C1;
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment