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

            Bug ID: 165757
           Summary: ByVal variant array arguments allow to modify passed
                    variables in subroutines
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 199823
  --> https://bugs.documentfoundation.org/attachment.cgi?id=199823&action=edit
Sample file.

When I pass variant array to subroutine by value I can modify the external
variable (array) inside the subroutine. Is it by design? If so, the
documentation of "ByVal" should state it explicitly.

I tested it on Windows 10 x64, Calc 25.2.1.2 and on Linux x64, Calc 6.4.7.2.

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

Reply via email to