summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-25 21:03:24 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-01-25 21:13:25 +0100
commitb0af6fd51c644827593f3d69c46dc8074dca0ee3 (patch)
treeec6a78a118ce89ed8615889053e9240f7f5c6465
parent80502d846247c81f8d58b575d7e6db9d824f215f (diff)
ScTableSheetObj::findAll does not return the correct range, fdo#43462
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx4
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 ));
}
}
}