diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-09 15:46:24 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-09 15:46:24 +0200 |
commit | fae5b1f735a55183fddc4cad1278d15583730645 (patch) | |
tree | 3547714d4c0218131ac29fe68ba11141e2885f3c /testautomation/global/tools/includes/required/t_files.inc | |
parent | 152b4ab06a6cb6f106b58acb24755411eb1c94f8 (diff) |
automationdev300m87: #i112208# - Maximize verbosity, for some reason the split-function fails
Diffstat (limited to 'testautomation/global/tools/includes/required/t_files.inc')
-rw-r--r-- | testautomation/global/tools/includes/required/t_files.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc index 46ff47bfdf1c..b0dadeb34ed7 100644 --- a/testautomation/global/tools/includes/required/t_files.inc +++ b/testautomation/global/tools/includes/required/t_files.inc @@ -509,7 +509,7 @@ function hGetWorkPath() as string ' Retrieve the user's work directory using the API (or fallback) - dim sPath as string + dim sPath as string : sPath = "" dim oOfficeConnect as object dim oOfficeConfig as object dim bPathIsFromAPI as boolean @@ -571,7 +571,7 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean endif ' Find out what the name of the target file is going to be - sTargetFile = hSplitString( sSourcePath, "/", 0 ) + sTargetFile = hSplitString( sSourcePath, getPathSeparator, 0 ) sTargetPath = hGetWorkFile( sTargetFile ) if ( FileExists( sTargetPath ) ) then |