Kaydet (Commit) eea70492 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Eike Rathke

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/20067Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
(cherry picked from commit 71f0e4e5)
Reviewed-on: https://gerrit.libreoffice.org/20105Reviewed-by: 's avatarEike Rathke <erack@redhat.com>
Tested-by: 's avatarEike Rathke <erack@redhat.com>
üst 3e9a4df6
...@@ -371,7 +371,7 @@ bool ScTable::Search(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow, ...@@ -371,7 +371,7 @@ bool ScTable::Search(const SvxSearchItem& rSearchItem, SCCOL& rCol, SCROW& rRow,
else else
{ {
SCROW nLastNonFilteredRow = -1; SCROW nLastNonFilteredRow = -1;
if (!bAll && rSearchItem.GetRowDirection()) if (rSearchItem.GetRowDirection())
{ {
nCol++; nCol++;
while (!bFound && (nRow <= nLastRow)) while (!bFound && (nRow <= nLastRow))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment