summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/dbdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/dbdata.cxx')
-rw-r--r--sc/source/core/tool/dbdata.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 7196db50201b..ccc19bcd1b49 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -496,9 +496,9 @@ bool ScDBData::IsDBAtCursor(SCCOL nCol, SCROW nRow, SCTAB nTab, ScDBDataPortion
bool ScDBData::IsDBAtArea(SCTAB nTab, SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) const
{
- return (bool)((nTab == nTable)
- && (nCol1 == nStartCol) && (nRow1 == nStartRow)
- && (nCol2 == nEndCol) && (nRow2 == nEndRow));
+ return (nTab == nTable)
+ && (nCol1 == nStartCol) && (nRow1 == nStartRow)
+ && (nCol2 == nEndCol) && (nRow2 == nEndRow);
}
bool ScDBData::HasImportParam() const