summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-11-20 00:09:36 +0100
committerAndras Timar <andras.timar@collabora.com>2015-12-06 14:33:32 +0100
commit617a83c63dd95b7dc27a10d7f3158d358c9a2465 (patch)
treeec174f43e421d47b5a6a6e9c675665884213562b /sc
parent5065189e2c2b2b04b5c8a88c25c86f95cf618a7e (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> (cherry picked from commit 71f0e4e5e2efee05bccf13698752e84f5059db5f) Reviewed-on: https://gerrit.libreoffice.org/20105 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit eea70492fb19b2dbd6edc0c37a2b0ed81b3ead5c)
Diffstat (limited to 'sc')
-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 3c24c8fd7c20..e679b18ea4f1 100644
--- a/sc/source/core/data/table6.cxx
+++ b/sc/source/core/data/table6.cxx
@@ -371,7 +371,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))