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

            Bug ID: 146608
           Summary: CInt conversion of date literals raises Error
           Product: LibreOffice
           Version: 7.2.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When convertiong a date literal, such as #25-12-1995#, CInt() function throws
an exception.
This applies to Basic and VBA modes

Steps to Reproduce:
1. Run the sample codes from the attached document


Actual Results:
Basic Error # is raised

Expected Results:
Date literals should be converted/truncated to Integers without problem.


Reproducible: Always


User Profile Reset: No



Additional Info:
Exception is circumvented when removing the trailing dash '#' in date literals.

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

Reply via email to