From 8e4624b9b9fa1322592b73fe0dd6cb03be6fd57f Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Tue, 1 Feb 2022 13:16:42 +0100 Subject: fix build cdd0a141094c9ceb690a702bb0 got pushed now after it got a Jenkins verification in September, and now fails because of my change from November. Change-Id: I6472444a05c8ff8f2e844dfff29c14a75a40ada1 --- sc/source/ui/miscdlgs/dataproviderdlg.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sc/source/ui/miscdlgs/dataproviderdlg.cxx b/sc/source/ui/miscdlgs/dataproviderdlg.cxx index 16dc088aed4c..e8d16f22a1bc 100644 --- a/sc/source/ui/miscdlgs/dataproviderdlg.cxx +++ b/sc/source/ui/miscdlgs/dataproviderdlg.cxx @@ -54,9 +54,7 @@ SCCOL ScDataTransformationBaseControl::getLastCol(const ScDocument& rDoc) { for (SCCOL nCol = 1; nCol <= rDoc.MaxCol(); ++nCol) { - CellType eType; - rDoc.GetCellType(nCol, 0, 0, eType); - if (eType == CELLTYPE_NONE) + if (rDoc.GetCellType(nCol, 0, 0) == CELLTYPE_NONE) { return static_cast(nCol - 1 ); } -- cgit