diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-02-01 13:16:42 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-02-01 13:18:19 +0100 |
commit | 8e4624b9b9fa1322592b73fe0dd6cb03be6fd57f (patch) | |
tree | 4d7c164f0b2ebf05aafe2a6a38e4936e2c8dd237 | |
parent | 57f6c7f4c913368f1ef34859e6c973c9c1660c65 (diff) |
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
-rw-r--r-- | sc/source/ui/miscdlgs/dataproviderdlg.cxx | 4 |
1 files changed, 1 insertions, 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<SCCOL>(nCol - 1 ); } |