diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 10:18:14 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-27 09:36:53 +0100 |
commit | aa753f01ba4631614bb88ee7d3a3e6b222208b3e (patch) | |
tree | c8b168e8e0619c387d30f206848ec30ca7238a00 /framework/source/services | |
parent | Avoid WaE (-Wunused-macros) in external libpng (diff) | |
download | core-aa753f01ba4631614bb88ee7d3a3e6b222208b3e.tar.gz core-aa753f01ba4631614bb88ee7d3a3e6b222208b3e.zip |
-Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 4 |
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 )) |