diff options
-rw-r--r-- | sc/inc/dbdata.hxx | 1 | ||||
-rw-r--r-- | sc/source/core/tool/dbdata.cxx | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/sc/inc/dbdata.hxx b/sc/inc/dbdata.hxx index 328dd2a597e4..a5b761e15d5d 100644 --- a/sc/inc/dbdata.hxx +++ b/sc/inc/dbdata.hxx @@ -42,7 +42,6 @@ struct ScImportParam; enum class ScDBDataPortion { TOP_LEFT, ///< top left cell of area - HEADER, ///< header row of area, if headers are present AREA ///< entire area }; diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx index aa4a74c0aa4d..2b7b05a2f73d 100644 --- a/sc/source/core/tool/dbdata.cxx +++ b/sc/source/core/tool/dbdata.cxx @@ -487,8 +487,6 @@ bool ScDBData::IsDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion { case ScDBDataPortion::TOP_LEFT: return nCol == nStartCol && nRow == nStartRow; - case ScDBDataPortion::HEADER: - return HasHeader() && nRow == nStartRow && nCol >= nStartCol && nCol <= nEndCol; case ScDBDataPortion::AREA: return nCol >= nStartCol && nCol <= nEndCol && nRow >= nStartRow && nRow <= nEndRow; } |