diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-15 07:43:20 +0100 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-03-15 07:43:20 +0100 |
commit | 0e5c38450385ad313571e3c1af1a8b0336d2657f (patch) | |
tree | 6ff182cee755d1199c0a55f41bd89d458b0500f5 /testautomation/global/input | |
parent | 1707fbfed60b4e8d0ccf3c6c134c00bca87ff085 (diff) | |
parent | d369c11cce9c7cd486a9f592bf27497ca630fb2c (diff) |
vitomation01: Branch merge with DEV300_m75
Diffstat (limited to 'testautomation/global/input')
-rwxr-xr-x | testautomation/global/input/macros.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testautomation/global/input/macros.txt b/testautomation/global/input/macros.txt index 32d22d503d44..278765674855 100755 --- a/testautomation/global/input/macros.txt +++ b/testautomation/global/input/macros.txt @@ -262,3 +262,20 @@ Sub Main msgbox( "Error" ) endif end sub + +# ---------------------------------------------------------------------------- # + +[i107070] +Sub Main + oSingleton = com.sun.star.logging.LoggerPool + + oInstance1 = oSingleton.get() + msgbox oInstance1.dbg_properties + + oCtx = GetDefaultContext() + oInstance2 = oSingleton.get( oCtx ) + msgbox oInstance2.dbg_properties + + ' Uncommenting this should result in an error "Invalid procedure call" + oInstanceErr1 = oSingleton.get( 42 ) +End Sub |