https://bugs.freedesktop.org/show_bug.cgi?id=61109

          Priority: medium
            Bug ID: 61109
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: getCellByPosition failed after removeRange on the same
                    row
          Severity: major
    Classification: Unclassified
                OS: Windows (All)
          Reporter: r0pol...@gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: 4.0.0.3 release
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 75103
  --> https://bugs.freedesktop.org/attachment.cgi?id=75103&action=edit
The file causing the problem in 3.6.3-4.0.0

getCellByPosition failed with OutOfRangeException
after removeRange with com.sun.star.sheet.CellDeleteMode.LEFT
is used on range containing other cells on this row.

Attached example: filled cells A1:E8, macro Sub (attached to button)
removes cells D4:F5 with shift to the LEFT, then getting cell A5 failed.

Steps to reproduce:
1) Open attached ods file
2) click the button
If it shows error message, it failed.
If it shows "Everything OK..." then it is ok.

This problem is only in LO 3.6.3, 3.6.4, 3.6.5, 4.0.0.
Not affected releases are: 3.5.6, 3.5.7, 3.6.0, 3.6.1, 3.6.2

So the problem is between 3.6.2 and 3.6.3.
When reading 3.6.3 changelog, could in these lines be something cause this?
fdo#55022 don't access out of bound array index, [Markus Mohrhard]
fdo#55142 fix use proper output offsets. [Sergey Farbotka]
fdo#55156 silly workaround for [Tor Lillqvist]
fdo#55710 don't insert the same pointer twice into a ptr_set, [Markus Mohrhard]
rhbz#689053 fix crash following delete at last table cell: [Michael Stahl]

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to