diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-02 18:43:33 +0100 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2010-03-02 18:43:33 +0100 |
commit | 77944290c8246c1743395f5ed2b647e5c8a69e42 (patch) | |
tree | 5ee204416610f643d5eb3e3a9c31a125c539fa8b /testautomation/global/tools/includes/required/t_tools1.inc | |
parent | 4c258f10f0cd41138caf0df5fdb91b7f6d6e4a5a (diff) | |
parent | be6db479ddf376bd6276da5314c895f0034134bd (diff) |
CWS-TOOLING: integrate CWS sb111
Diffstat (limited to 'testautomation/global/tools/includes/required/t_tools1.inc')
-rw-r--r-- | testautomation/global/tools/includes/required/t_tools1.inc | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/testautomation/global/tools/includes/required/t_tools1.inc b/testautomation/global/tools/includes/required/t_tools1.inc index 21f268b027a7..a908af39e5af 100644 --- a/testautomation/global/tools/includes/required/t_tools1.inc +++ b/testautomation/global/tools/includes/required/t_tools1.inc @@ -1006,9 +1006,6 @@ sub sResetTheOffice as boolean Dim sDefaultLocaleCJK as string Dim sDefaultLocaleCTL as string Dim sfgetL10Nvalue as string - Dim SetupXML as String - Dim SetupXMLNet as string - Dim SetupXMLDefault as string Dim sLanOutIni as string sString = "qa:qatesttool:calc:options:inc:coption1.inc:: " @@ -1017,25 +1014,11 @@ sub sResetTheOffice as boolean ' only run on UNIX platforms; there is a problem with the quickstarter on win32 if ("unx" = gPlatgroup) then try - SetupXML = gOfficePath & ConvertPath("user\registry\data\org\openoffice\Setup.xcu") - ' function 'fgetL10Nvalue' is also in this library - sLanOutIni = fgetL10Nvalue(SetupXML) + sLanOutIni = fgetL10Nvalue() catch - try - ' BugID 98315 -> looking in networkpath for the language until bug will be fixed. - SetupXMLNet = gNetzOfficePath & ConvertPath("share\registry\data\org\openoffice\Setup.xcu") - sLanOutIni = fgetL10Nvalue(SetupXMLNet) - catch - try - ' It is an English FAT version 645m9s2 or higher. - SetupXMLDefault = gOfficePath & ConvertPath("share\registry\data\org\openoffice\Setup.xcu") - sLanOutIni = fgetL10Nvalue(SetupXMLDefault) - catch - warnlog sString & SetupXML & " not found => can't get the correct Office-Language!." - sResetTheOffice = FALSE - Exit sub - endcatch - endcatch + warnlog sString & "can't get the correct Office-Language!." + sResetTheOffice = FALSE + Exit sub endcatch uno=hGetUnoService() @@ -1273,6 +1256,10 @@ function hUseAsyncSlot( cSlot as string ) as integer case "formatpagewriter" : FormatPageWriter case "insertindexesbibliographyentry" : InsertIndexesBibliographyEntry + case "insertobjectchart" : InsertObjectChart + case "inserttablewriter" : InsertTableWriter + case "insertobjectformulawriter" : InsertObjectFormulaWriter + case "insertfloatingframe" : InsertFloatingFrame case "contextpositionandsize" : ContextPositionAndSize @@ -1282,6 +1269,9 @@ function hUseAsyncSlot( cSlot as string ) as integer case "toolsupdatelinks" : ToolsUpdateLinks case "toolslanguagehangulhanjaconversion" : ToolsLanguageHangulHanjaConversion + ' This is the property browser in the BASIC IDE + case "contextproperties" : ContextProperties + case else : warnlog( "Unknown slot called: " & cSlot ) end select |