[Libreoffice-commits] core.git: sc/source

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Fri Apr 17 14:23:18 UTC 2020


 sc/source/core/tool/interpr8.cxx |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 396b5ce076145ccda46cbfdac82faaad899a4e9d
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Fri Apr 17 16:21:30 2020 +0200
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Fri Apr 17 16:22:02 2020 +0200

    Break overly long line
    
    ... and make it more legible.
    
    Change-Id: Ie5325f614cf8d95290e04c9b0e9fa29f353d8301

diff --git a/sc/source/core/tool/interpr8.cxx b/sc/source/core/tool/interpr8.cxx
index ce978ea094a6..9fc1e799884a 100644
--- a/sc/source/core/tool/interpr8.cxx
+++ b/sc/source/core/tool/interpr8.cxx
@@ -1974,8 +1974,9 @@ void ScInterpreter::ScSwitch_MS()
         else
             aStr = GetString();
         nParamCount--;
-        if ( (nGlobalError != FormulaError::NONE && nParamCount < 2) || (( isValue && rtl::math::approxEqual( fRefVal, fVal ) ) ||
-             ( !isValue && aRefStr.getDataIgnoreCase() == aStr.getDataIgnoreCase() )) )
+        if ((nGlobalError != FormulaError::NONE && nParamCount < 2)
+                || (isValue && rtl::math::approxEqual( fRefVal, fVal))
+                || (!isValue && aRefStr.getDataIgnoreCase() == aStr.getDataIgnoreCase()))
         {
             // TRUE
             bFinished = true;


More information about the Libreoffice-commits mailing list