[Libreoffice] [REVIEW] fix for fdo#43462, ScTableSheetObj::findAll returns always the whole sheet if something is found

Markus Mohrhard markus.mohrhard at googlemail.com
Wed Jan 25 12:19:50 PST 2012


Hey,

It would be great if we could backport
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b0af6fd51c644827593f3d69c46dc8074dca0ee3
to 3-5 and 3-5-0.

The patch is extremelly safe and just removes the unnecessary and
wrong usage of ScMarkData in this case. rMark is passed as const
reference now and the range containing the result is in
aMatchedRanges.

If you want to check, I also pushed an api test to
sc/qa/extras/sctablesheetobj.cxx testing that we now return the
correct number of elements.

Regards,
Markus


More information about the LibreOffice mailing list