diff options
-rw-r--r-- | sc/source/ui/unoobj/cellsuno.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx index 532bbbe6d046..73419fc36090 100644 --- a/sc/source/ui/unoobj/cellsuno.cxx +++ b/sc/source/ui/unoobj/cellsuno.cxx @@ -3908,10 +3908,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 )); } } } |