[Libreoffice-commits] core.git: sc/source

Eike Rathke erack at redhat.com
Wed Jul 27 14:06:00 UTC 2016


 sc/source/core/data/table6.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f027c77c520adbdf8cec59e0484fc87b33cf203b
Author: Eike Rathke <erack at redhat.com>
Date:   Wed Jul 27 16:03:33 2016 +0200

    include empty cells if notes are searched, tdf#65334 follow-up
    
    Change-Id: Ib67b9745ffff730b209df2b82dc7e46fc4774900

diff --git a/sc/source/core/data/table6.cxx b/sc/source/core/data/table6.cxx
index b5a4499..a41aa64 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;


More information about the Libreoffice-commits mailing list