diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-15 13:47:16 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-16 08:17:34 +0200 |
commit | 44cfdda29b3bcd0b583645238cd0211e93390c95 (patch) | |
tree | 88b7d2981a377aa740a4740ab8d2dd0a80560298 /sc | |
parent | 9aed81ca1ed542552f82eab041208bef78abd6c8 (diff) |
remove unused HEADER from ScDBDataPortion enum
Change-Id: I744a945f9aab152c8cddac2bd88567610540471c
Diffstat (limited to 'sc')
-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; } |