summaryrefslogtreecommitdiff
path: root/smoketestoo_native
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-03-05 15:19:29 +0000
committerKurt Zenker <kz@openoffice.org>2008-03-05 15:19:29 +0000
commit6691d2d04e70d2ae4d188ac52fff2995f0bda156 (patch)
tree81f0571bd5422b8a18799a6f9fd94608c8fd11d2 /smoketestoo_native
parent64169b7b4709dd068bbcaee027dc29b9a9f65199 (diff)
INTEGRATION: CWS smoketest18 (1.6.30); FILE MERGED
2008/02/18 18:55:53 kz 1.6.30.1: #i75077# handle new quickstarter
Diffstat (limited to 'smoketestoo_native')
-rwxr-xr-xsmoketestoo_native/data/scripts/Global.xba12
1 files changed, 12 insertions, 0 deletions
diff --git a/smoketestoo_native/data/scripts/Global.xba b/smoketestoo_native/data/scripts/Global.xba
index ed2b4da08ecc..c56b444cf030 100755
--- a/smoketestoo_native/data/scripts/Global.xba
+++ b/smoketestoo_native/data/scripts/Global.xba
@@ -562,11 +562,20 @@ Sub SetDefaultOptions
bMakeTerminateAfterTest = true
end Sub
+Sub ShutdownQuickstarter
+ dim qs as Object
+ qs = createUnoService(&quot;com.sun.star.comp.desktop.QuickstartWrapper&quot; )
+ qs.setFastPropertyValue( 0, false )
+end Sub
+
Sub StartTestByOptions
+ call ShutdownQuickstarter
bShowTable = true
call ReadOptions
call Main
+
if bMakeTerminateAfterTest then
+
ClearDocFull (gOutPutDoc)
gOutPutDoc.dispose
&apos;StarDesktop.Terminate
@@ -578,11 +587,14 @@ Sub StartTestByOptions
end Sub
Sub StartTestWithDefaultOptions
+ call ShutdownQuickstarter
bShowTable = false
call SetDefaultOptions
call Main
+
if bMakeTerminateAfterTest then
stop
+
ClearDocFull (gOutPutDoc)
gOutPutDoc.dispose
&apos;StarDesktop.Terminate