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

             Bug #: 50846
           Summary: Macros: Wrong type of function GetLastUsedRow
                    (standard library Tools, module Misc)
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.5.3 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
 Status Whiteboard: BSA
          Severity: normal
          Priority: medium
         Component: BASIC
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Problem description: 
The type is Integer,  should be Long
Steps to reproduce:
1. Put any value in any cell at line above 32769
2. Run a simple macro:
Sub testGetLastUsedRow()
    GlobalScope.BasicLibraries.LoadLibrary("Tools")
    Print "Number of Last Used Row is " +
GetLastUsedRow(ThisComponent.getCurrentController().getActiveSheet())
End Sub
3. Get error "Overflow"

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- 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