sc/source/ui/unoobj/cellsuno.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit 85387446a7bd839e880b35c89fe6fd0a0c8e9576 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Wed Jan 25 21:03:24 2012 +0100 ScTableSheetObj::findAll does not return the correct range, fdo#43462 Signed-off-by: Kohei Yoshida <kohei.yosh...@suse.com> diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index ca59caf..fc38a45 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3907,10 +3907,8 @@ uno::Reference<container::XIndexAccess> SAL_CALL ScCellRangesBase::findAll( *pSearchItem, nCol, nRow, nTab, aMark, aMatchedRanges, aDummyUndo, NULL); if (bFound) { - ScRangeList aNewRanges; - aMark.FillRangeListWithMarks( &aNewRanges, sal_True ); // bei findAll immer CellRanges, egal wieviel gefunden wurde - xRet.set(new ScCellRangesObj( pDocShell, aNewRanges )); + xRet.set(new ScCellRangesObj( pDocShell, aMatchedRanges )); } } } _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits