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

          Priority: medium
            Bug ID: 79087
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: After inserting a Sheet, getCellByPosition returns
                    Cell on wrong sheet
          Severity: major
    Classification: Unclassified
                OS: Linux (All)
          Reporter: greentntmi...@gmail.com
          Hardware: x86-64 (AMD64)
            Status: UNCONFIRMED
           Version: 4.2.4.2 release
         Component: BASIC
           Product: LibreOffice

The following writes the text to "Sheet1" instead of the usual "TestSheet" from
Calc. It worked fine from 3.x up to 4.0.6.2.


Sub Main
    Doc = ThisComponent
    TestSheet = Doc.createInstance("com.sun.star.sheet.Spreadsheet")
    Doc.Sheets.insertByName("TestSheet",TestSheet)
    Cell = TestSheet.getCellByPosition(1,6)
    Cell.String = "Hello World - Should be on TestSheet but appears on Sheet1"
End Sub

-- 
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