summaryrefslogtreecommitdiff
path: root/testautomation/global/system
diff options
context:
space:
mode:
authortb121644 <tb121644@sr1-eham02-04>2010-01-19 15:46:03 +0100
committertb121644 <tb121644@sr1-eham02-04>2010-01-19 15:46:03 +0100
commite5e9c6b22981d9ae35c8e16c0120f1bd94e6c011 (patch)
tree44246609614b3b9d1ea5ce2415f2df49f50f22c1 /testautomation/global/system
parenta4c445a0eac44be7900591265c4d627561792a2c (diff)
#i106811# new global variable: gAutoUpdate
Diffstat (limited to 'testautomation/global/system')
-rwxr-xr-xtestautomation/global/system/includes/gvariabl.inc1
-rwxr-xr-xtestautomation/global/system/includes/master.inc2
2 files changed, 3 insertions, 0 deletions
diff --git a/testautomation/global/system/includes/gvariabl.inc b/testautomation/global/system/includes/gvariabl.inc
index 52c9f9f54dd0..aef5a2dfb126 100755
--- a/testautomation/global/system/includes/gvariabl.inc
+++ b/testautomation/global/system/includes/gvariabl.inc
@@ -91,6 +91,7 @@ Global gAccessibility as Boolean '///+ gAccessibility => If an accessibility
Global gProductName as string '///+ gProductName => Name of the product (StarOffice, OpenOffice.org, ...)
Global gMacroSecurityLevel as integer'///+ gMacroSecurityLevel => Macro Security Level (0: Low ... 3: Very High)
Global gOfficeVersion as string '///+ gOfficeVersion => The version number of the office like 3.1, 9.0 ...
+Global gAutoUpdate as boolean '///+ gAutoUpdate => if office is able to request update streams
'/// - global OLE-objectnames
global gOLEWriter as String '///+ gOLEWriter => OLE-object-name for Writer
diff --git a/testautomation/global/system/includes/master.inc b/testautomation/global/system/includes/master.inc
index 718a7cf066cc..37f8320b804c 100755
--- a/testautomation/global/system/includes/master.inc
+++ b/testautomation/global/system/includes/master.inc
@@ -924,8 +924,10 @@ sub mMakeGeneralOptionsAPI
' At this point there is no needed to think about what to do, if it doesn't work.
end if
xViewRoot.dispose()
+ gAutoUpdate = TRUE
catch
qaErrorLog( sFileFunction & "This build does not support online update." )
+ gAutoUpdate = FALSE
endcatch
'///+ OOo Improvement - only if BUILD_SPECIAL is set we have this file created.