summaryrefslogtreecommitdiff
path: root/framework/source/services/substitutepathvars.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/services/substitutepathvars.cxx')
-rw-r--r--framework/source/services/substitutepathvars.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index c6689fc20c53..e26f99a55ec1 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -51,8 +51,6 @@
#define STRPOS_NOTFOUND (sal_Int32)-1
-#define SEARCHPATH_DELIMITER ';'
-
// Variable start/end characters
#define SIGN_STARTVARIABLE "$("
#define SIGN_ENDVARIABLE ")"
@@ -843,7 +841,7 @@ throw ( NoSuchElementException, RuntimeException )
}
// Check preconditions to substitue path variables.
- // 1. A path variable can only be substituted if it follows a SEARCHPATH_DELIMITER ';'!
+ // 1. A path variable can only be substituted if it follows a ';'!
// 2. It's located exactly at the start of the string being substituted!
if (( aFixedVarTable[ int( nIndex ) ].bAbsPath && (( nPosition == 0 ) || (( nPosition > 0 ) && ( aWorkText[nPosition-1] == ';')))) ||
( !aFixedVarTable[ int( nIndex ) ].bAbsPath ))