summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-07-27 16:03:33 +0200
committerEike Rathke <erack@redhat.com>2016-07-27 16:05:31 +0200
commitf027c77c520adbdf8cec59e0484fc87b33cf203b (patch)
tree39983f78940e16226d4e0ec5a8e868896cd1b694
parent5e0b0de0af07d3d8415370f1dea4dd61e811eed0 (diff)
include empty cells if notes are searched, tdf#65334 follow-up
Change-Id: Ib67b9745ffff730b209df2b82dc7e46fc4774900
-rw-r--r--sc/source/core/data/table6.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index b5a4499fb7fc..a41aa64c2572 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -69,7 +69,7 @@ bool ScTable::SearchCell(const SvxSearchItem& rSearchItem, SCCOL nCol, SCROW nRo
return false;
aCell = aCol[nCol].GetCellValue(nRow);
- if (aCell.isEmpty())
+ if (aCell.isEmpty() && rSearchItem.GetCellType() != SvxSearchCellType::NOTE)
return false;
bool bMultiLine = false;