summaryrefslogtreecommitdiff
path: root/testautomation
diff options
context:
space:
mode:
authorJoerg Skottke [jsk] <jsk@openoffice.org>2010-09-10 14:19:14 +0200
committerJoerg Skottke [jsk] <jsk@openoffice.org>2010-09-10 14:19:14 +0200
commitae4f862150a0e65096908778b7e21d745d5d0a09 (patch)
tree5c22fe925bec367a50b3c055d262382be711002f /testautomation
parent1e780cc87b4ee0a96a815358019b9e7b74c798f5 (diff)
automationdev300m87: #i112208# - Polished some comments and added usage information at the top of the function.
Diffstat (limited to 'testautomation')
-rw-r--r--testautomation/global/tools/includes/required/t_files.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/testautomation/global/tools/includes/required/t_files.inc b/testautomation/global/tools/includes/required/t_files.inc
index fcdbe5f39c99..ef8df3f31312 100644
--- a/testautomation/global/tools/includes/required/t_files.inc
+++ b/testautomation/global/tools/includes/required/t_files.inc
@@ -581,8 +581,8 @@ 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, getPathSeparator, 0 )
- sTargetPath = hGetWorkFile( sTargetFile )
+ sTargetFile = hSplitString( sSourcePath, getPathSeparator, 0 ) ' The file
+ sTargetPath = hGetWorkFile( sTargetFile ) ' The path + file
' Copy the file from anywhere to the local user directory if it does not
' exist. This behavior was discussed on IRC
@@ -597,7 +597,6 @@ function hFileOpenLocally( byVal sSourcePath as string ) as boolean
FileCopy( sSourcePath, sTargetPath )
endif
-
' This is a hook that allows to access the filename under which the file
' has been saved. Due to restrictive coding guidelines we cannot return
' the new filename.