summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-21 14:22:21 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-05-21 14:22:21 +0200
commitc424a5df10c05c5913ea4f66691859e49631c6b2 (patch)
treee61f6691c3bb4c89ae6c833cae70ebb736c59eaf
parent918599d1f0567b24801ddff692a340daf425f5d2 (diff)
npower13_objectmodules: Fix incorrect merges
-rwxr-xr-xtestautomation/framework/optional/f_basic_vba-compat.bas6
-rwxr-xr-xtestautomation/framework/optional/includes/basic_vba-compat_import_disabled.inc9
-rwxr-xr-xtestautomation/framework/optional/includes/basic_vba-compat_import_enabled.inc9
-rwxr-xr-xtestautomation/framework/optional/includes/basic_vba-compat_import_nothing.inc11
4 files changed, 1 insertions, 34 deletions
diff --git a/testautomation/framework/optional/f_basic_vba-compat.bas b/testautomation/framework/optional/f_basic_vba-compat.bas
index db181dbaa..80b48eb5c 100755
--- a/testautomation/framework/optional/f_basic_vba-compat.bas
+++ b/testautomation/framework/optional/f_basic_vba-compat.bas
@@ -60,16 +60,10 @@ sub LoadIncludeFiles
use "global\tools\includes\optional\t_basic_organizer_tools.inc"
use "global\tools\includes\optional\t_treelist_tools.inc"
-<<<<<<< local
use "global\tools\includes\optional\t_stringtools.inc"
-=======
use "global\tools\includes\optional\t_security_tools.inc"
->>>>>>> other
use "global\tools\includes\optional\t_macro_tools.inc"
-<<<<<<< local
-=======
use "global\tools\includes\optional\t_docfuncs.inc"
->>>>>>> other
use "framework\optional\includes\basic_vba_compat_tools.inc"
diff --git a/testautomation/framework/optional/includes/basic_vba-compat_import_disabled.inc b/testautomation/framework/optional/includes/basic_vba-compat_import_disabled.inc
index e1e13ddc6..764ba4072 100755
--- a/testautomation/framework/optional/includes/basic_vba-compat_import_disabled.inc
+++ b/testautomation/framework/optional/includes/basic_vba-compat_import_disabled.inc
@@ -68,15 +68,6 @@ testcase tBasicVBACompatImportDisabled()
dim iCurrentModule as integer
dim cCurrentModule as string
dim bFound as boolean
-
- ' Depending on the mode of macro import we have differtent basic libraries listed
- const NODE_COUNT_OOO = 78 ' OpenOffice.org
- const NODE_COUNT = 80 ' branded product
-
- const DOCUMENT_POSITION_OFFSET = -7
-
- const IMPORT_EXCEL_MACROS = TRUE
- const EXEC_EXCEL_MACROS = FALSE
printlog( "Set macro security to low" )
hSetMacroSecurityAPI( GC_MACRO_SECURITY_LEVEL_LOW )
diff --git a/testautomation/framework/optional/includes/basic_vba-compat_import_enabled.inc b/testautomation/framework/optional/includes/basic_vba-compat_import_enabled.inc
index a6a60fe41..98173ee8b 100755
--- a/testautomation/framework/optional/includes/basic_vba-compat_import_enabled.inc
+++ b/testautomation/framework/optional/includes/basic_vba-compat_import_enabled.inc
@@ -80,15 +80,6 @@ testcase tBasicVBACompatImportEnabled()
dim cTempString as string
dim bFound as boolean
- ' Depending on the mode of macro import we have differtent basic libraries listed
- const NODE_COUNT_OOO = 74
- const NODE_COUNT = 76
-
- const DOCUMENT_POSITION_OFFSET = -3
-
- const IMPORT_EXCEL_MACROS = TRUE
- const EXEC_EXCEL_MACROS = TRUE
-
printlog( "Set macro security to low" )
hSetMacroSecurityAPI( GC_MACRO_SECURITY_LEVEL_LOW )
diff --git a/testautomation/framework/optional/includes/basic_vba-compat_import_nothing.inc b/testautomation/framework/optional/includes/basic_vba-compat_import_nothing.inc
index cafe378c7..50c59cf88 100755
--- a/testautomation/framework/optional/includes/basic_vba-compat_import_nothing.inc
+++ b/testautomation/framework/optional/includes/basic_vba-compat_import_nothing.inc
@@ -55,16 +55,7 @@ testcase tBasicVBACompatImportNothing()
cTestFile = gTesttoolPath & "framework/optional/input/vba-compat/" & DOCUMENT_NAME
dim cNodeCount as integer
-
- ' Depending on the mode of macro import we have differtent basic libraries listed
- const NODE_COUNT = 74 ' Do not import Microsoft(R) Excel(R) macros at all
- const NODE_COUNT_OOO = 72
- const MACRO_LIST = 0 ' The document library should have no scripts listed
- const DOCUMENT_POSITION_OFFSET = -1
-
- const IMPORT_EXCEL_MACROS = FALSE
- const EXEC_EXCEL_MACROS = FALSE
-
+
printlog( "Set macro security to low" )
hSetMacroSecurityAPI( GC_MACRO_SECURITY_LEVEL_LOW )