summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-11-20 00:09:36 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-11-21 14:33:28 +0000
commit71f0e4e5e2efee05bccf13698752e84f5059db5f (patch)
treebc813322a50ea6aac76980ec1de8f316893de0e6
parent41cde55f943ea43da1ac18987d30e33a0a551e1b (diff)
tdf#83126: Find All: Don't ignore Search Direction Rows/Col option
bAll (ie "Find All") seems a little tricky for GetBackward but not for GetRowDirection method Change-Id: I47d2b378fb493bcdc1ad30902a3a677eedc50789 Reviewed-on: https://gerrit.libreoffice.org/20067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
-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 c07363c4bdf4..512bbd3e01d8 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -378,7 +378,7 @@ bool ScTable::Search(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
else
{
SCROW nLastNonFilteredRow = -1;
- if (!bAll && rSearchItem.GetRowDirection())
+ if (rSearchItem.GetRowDirection())
{
nCol++;
while (!bFound && (nRow <= nLastRow))