https://bugs.documentfoundation.org/show_bug.cgi?id=147257
Bug ID: 147257
Summary: The property of an object is found by the
getPropertyValue method and is not found in Basic
directly.
Product: LibreOffice
Version: 7.3.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Open (create) any Calc document.
Run macros.
Sub Test1
Dim oUDR
oUDR=ThisComponent.getPropertyValue("UnnamedDatabaseRanges")
Msgbox oUDR.hasByTable(0)
End Sub
Sub Test2
Dim oUDR
oUDR=ThisComponent.UnnamedDatabaseRanges
Msgbox oUDR.hasByTable(0)
End Sub
Test1 shows "False".
Result of Test2:
BASIC runtime error.
Property or method not found: UnnamedDatabaseRanges.
--
You are receiving this mail because:
You are the assignee for the bug.