diff options
author | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-09 15:03:28 +0200 |
---|---|---|
committer | Joerg Skottke [jsk] <jsk@openoffice.org> | 2010-09-09 15:03:28 +0200 |
commit | faba6731e6f8d0ec5c0eebf555be2ff2286ebc78 (patch) | |
tree | 8fc14d0aa2ec455b19d9b300ed1f3a74e1cc191b | |
parent | b2b84b6cebb9166e3ea9835bdcd0e44fb9726cc3 (diff) |
automationdev300m87: #i112208# - Fix two fatal typos
-rw-r--r-- | testautomation/global/tools/includes/required/t_dir.inc | 2 | ||||
-rw-r--r-- | testautomation/global/tools/includes/required/t_files.inc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testautomation/global/tools/includes/required/t_dir.inc b/testautomation/global/tools/includes/required/t_dir.inc index a7347d4d498d..8e4944ad3313 100644 --- a/testautomation/global/tools/includes/required/t_dir.inc +++ b/testautomation/global/tools/includes/required/t_dir.inc @@ -298,7 +298,7 @@ function hSplitString( sString as string, sSeparator as string, iIndex as intege ' probably the most commonly used item. If the index is invalid (out of ' bounds) we print a warning and return an error string. - const CFN & "global::tools::includes::required::t_dir.inc:hSplitString(): " + const CFN = "global::tools::includes::required::t_dir.inc:hSplitString(): " const ERROR_MESSAGE = "Array out of bounds for the requested index in string " const ARRAY_INDEX_CORRECTION = 1 ' The array lower boundary is zero but ' function starts to count with one. diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc index 23e520f57c16..46ff47bfdf1c 100644 --- a/testautomation/global/tools/includes/required/t_files.inc +++ b/testautomation/global/tools/includes/required/t_files.inc @@ -564,7 +564,7 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean dim sTargetFile as string ' If the source file does not exist we quit - if ( not FileExists( sSourcePath ) then + if ( not FileExists( sSourcePath ) ) then warnlog( CFN & "Source path/file does not exist: " & sSourcePath ) hFileOpenLocally() = false exit function |