sc/source/core/tool/interpr1.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit fbc6d6f9fc4e37d87e626e250ba317517a5f6b51
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Tue Feb 27 09:00:00 2024 +0000
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Tue Feb 27 13:13:56 2024 +0100

    cid#1592379 Logically dead code
    
    Change-Id: I99de3457d0775da860ca8b1727a3ed120a2b28ca
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164013
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/sc/source/core/tool/interpr1.cxx b/sc/source/core/tool/interpr1.cxx
index 5b04dca96b4e..7604d4be9d82 100644
--- a/sc/source/core/tool/interpr1.cxx
+++ b/sc/source/core/tool/interpr1.cxx
@@ -7717,8 +7717,7 @@ void ScInterpreter::CalculateLookup(bool bHLookup)
         else
         {
             ScAddress aResultPos( nCol1, nRow1, nTab1);
-            bFound = LookupQueryWithCache( aResultPos, aParam, refData, 0,
-                         ( bHLookup ? SC_OPCODE_H_LOOKUP : SC_OPCODE_V_LOOKUP 
) );
+            bFound = LookupQueryWithCache( aResultPos, aParam, refData, 0, 
SC_OPCODE_V_LOOKUP );
             nRow = aResultPos.Row();
             nCol = nSpIndex;
         }

Reply via email to