[Libreoffice-commits] .: Branch 'libreoffice-3-5-0' - sc/source

Michael Meeks michael at kemper.freedesktop.org
Thu Jan 26 01:39:43 PST 2012


 sc/source/ui/unoobj/cellsuno.cxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 85387446a7bd839e880b35c89fe6fd0a0c8e9576
Author: Markus Mohrhard <markus.mohrhard at 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.yoshida at 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 ));
                 }
             }
         }


More information about the Libreoffice-commits mailing list