https://bugs.documentfoundation.org/show_bug.cgi?id=93584

            Bug ID: 93584
           Summary: OLE Incompatibility betweeh LibreOffice 3 and 4
           Product: LibreOffice
           Version: 4.4.5.2 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

I have a huge application that integrates LibreOffice and Delphi/Pascal code
using OLE.

Those routines work fine over 7 years but now with the outcomming of
LibreOffice 4, several routines stop to work due to an error when I try to add
a new sheet dynamically.

When I try to store a value on a new sheet, I got IndexOutOfBoundsException.

Document.Sheets.CopyByName('Base', 'New', 4);
osheet := Document.Sheets.GetByIndex(4);
osheet.getCellByPosition(Col, Lin).String := Value;

It seems that getCellByPosition function got lost when I tried to add some
value on the new sheet.

On LibreOffice 3 the EXACT same routine works perfect.

Because of this error, I can’t update LibreOffice for more than 50 users….

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

Reply via email to