https://bugs.documentfoundation.org/show_bug.cgi?id=163889

--- Comment #5 from BogdanB <[email protected]> ---
(In reply to Mike Kaganski from comment #4)
> I don't really know. The code pointer is ScTable::SearchStyle
> (sc/source/core/data/table6.cxx), which in turn calls ScColumn::SearchStyle
> (sc/source/core/data/column.cxx); but which of them is faulty, needs
> investigation (one already suspicious bit is immediate increment of nRow in
> the former function, before the first call to the latter; but maybe that's
> OK).


I am note sure by this, but nRow (which is zero) is increased before search in
sc/source/core/data/table6.cxx:

//nRow here is zero
nRow += nAdd; 
648
        do
649
        {
650
//nRow here already is one
            SCROW nNextRow = aCol[nCol].SearchStyle( nRow, pSearchStyle, bBack,
bSelect, rMark );
651
            if (!ValidRow(nNextRow))

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to