LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / basic / qa / basic_coverage / test_hasunointerfaces_method.bas
blob5f0f63832baad959cbda089d326660532d5fbf86
1 ' This file is part of the LibreOffice project.
3 ' This Source Code Form is subject to the terms of the Mozilla Public
4 ' License, v. 2.0. If a copy of the MPL was not distributed with this
5 ' file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 Option Explicit
10 Function doUnitTest as String
11 ' HASUNOINTERFACES
12 dim aObject as Object
13 If ( HasUnoInterfaces( aObject, "com.sun.star.beans.XIntrospection" ) ) Then
14 doUnitTest = "FAIL"
15 Else
16 doUnitTest = "OK"
17 End If
18 End Function