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

            Bug ID: 162935
           Summary: Variable ssignment within a BASIC WITH block fails
           Product: LibreOffice
           Version: 24.8.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 196409
  --> https://bugs.documentfoundation.org/attachment.cgi?id=196409&action=edit
Failing example using WITH block

In LO 7.x assignment to struct members worked in LO BASIC within a WITH block.
Assignment fails in LO 24.8.1.2.

WITH BLOCK Example 1: Worked in LO 7.x, failed in LO 24.8.1.2

        With RangeAddress
                .StartColumn = StartColumn
                .StartRow = StartRow
                .EndColumn = EndCellRange.EndColumn
                .EndRow = EndCellRange.EndRow
                .Sheet = EndCellRange.Sheet
        End With

WITH BLOCK Example 2: Works in LO 24.8.1.2 and presumably in LO 7.x

        RangeAddress.StartColumn = StartColumn
        RangeAddress.StartRow = StartRow
        RangeAddress.EndColumn = EndCellRange.EndColumn
        RangeAddress.EndRow = EndCellRange.EndRow
        RangeAddress.Sheet = EndCellRange.Sheet

See attachments for full working examples

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to