diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 20:41:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-18 21:08:40 +0100 |
commit | b69503ea67cea885fde8a36f41af37a56455fe19 (patch) | |
tree | 9b6cac30d62ef29b1e1ecacd82fd0f59e514800e /sc | |
parent | 88c9133b16749e33872e358aedd81ebc81593e3a (diff) |
WaE: -Werror=logical-op, I guess this is what was intended
Change-Id: I8646045372fc66cf459a7bd1d977ced6502ef751
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/table3.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index a65e0c569551..355978ad19cc 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -3252,7 +3252,7 @@ bool ScTable::HasColHeader( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCR CellType eFstCellType = GetCellType(nStartCol, nStartRow); CellType eSndCellType = GetCellType(nStartCol, nStartRow+1); return ((eFstCellType == CELLTYPE_STRING || eFstCellType == CELLTYPE_EDIT) && - (eSndCellType != CELLTYPE_STRING && eSndCellType != CELLTYPE_STRING)); + (eSndCellType != CELLTYPE_STRING && eSndCellType != CELLTYPE_EDIT)); } for (SCCOL nCol=nStartCol; nCol<=nEndCol; nCol++) @@ -3289,7 +3289,7 @@ bool ScTable::HasRowHeader( SCCOL nStartCol, SCROW nStartRow, SCCOL nEndCol, SCR CellType eFstCellType = GetCellType(nStartCol, nStartRow); CellType eSndCellType = GetCellType(nStartCol+1, nStartRow); return ((eFstCellType == CELLTYPE_STRING || eFstCellType == CELLTYPE_EDIT) && - (eSndCellType != CELLTYPE_STRING && eSndCellType != CELLTYPE_STRING)); + (eSndCellType != CELLTYPE_STRING && eSndCellType != CELLTYPE_EDIT)); } for (SCROW nRow=nStartRow; nRow<=nEndRow; nRow++) |