2019-11-23 16:37:02 +02:00
|
|
|
'
|
|
|
|
' This file is part of the LibreOffice project.
|
|
|
|
'
|
|
|
|
' This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
' License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
' file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
'
|
|
|
|
|
2021-07-06 16:00:14 +02:00
|
|
|
Option Explicit
|
2019-11-23 16:37:02 +02:00
|
|
|
Option Compatible
|
|
|
|
|
2021-07-01 18:23:08 +02:00
|
|
|
Function doUnitTest as String
|
2019-11-23 16:37:02 +02:00
|
|
|
' PROPERTY GET/LET
|
|
|
|
aString = "Office"
|
|
|
|
If ( aString <> "LibreOffice") Then
|
2021-07-01 18:23:08 +02:00
|
|
|
doUnitTest = "FAIL" ' Ko
|
2019-11-23 16:37:02 +02:00
|
|
|
Else
|
2021-07-01 18:23:08 +02:00
|
|
|
doUnitTest = "OK" ' Ok
|
2019-11-23 16:37:02 +02:00
|
|
|
End If
|
|
|
|
End Function
|
|
|
|
|
|
|
|
Dim _pn As String
|
|
|
|
Property Get aString As String
|
|
|
|
aString = _pn
|
|
|
|
End Property
|
|
|
|
Property Let aString(value As String)
|
|
|
|
_pn = "Libre"& value
|
|
|
|
End Property
|