diff options
author | Philipp Lohmann <pl@openoffice.org> | 2001-05-10 12:07:49 +0000 |
---|---|---|
committer | Philipp Lohmann <pl@openoffice.org> | 2001-05-10 12:07:49 +0000 |
commit | 2f02e0b70843b881756aa2cc68c19e64b1bef777 (patch) | |
tree | 0d43e67e6c51b651202019e4d9660d0259a33077 /idlc/source/idlcmain.cxx | |
parent | 2d04e77e8fbfe1d02ce8e095aa6639cedc8ae613 (diff) |
osl string api changes
Diffstat (limited to 'idlc/source/idlcmain.cxx')
-rw-r--r-- | idlc/source/idlcmain.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/idlc/source/idlcmain.cxx b/idlc/source/idlcmain.cxx index e54b673091e1..ef4cc1d3a3f0 100644 --- a/idlc/source/idlcmain.cxx +++ b/idlc/source/idlcmain.cxx @@ -2,9 +2,9 @@ * * $RCSfile: idlcmain.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: jsc $ $Date: 2001-03-15 12:30:43 $ + * last change: $Author: pl $ $Date: 2001-05-10 13:07:49 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -63,9 +63,9 @@ #endif #ifdef SAL_UNX -sal_Char SEPERATOR = '/'; +sal_Char SEPARATOR = '/'; #else -sal_Char SEPERATOR = '\\'; +sal_Char SEPARATOR = '\\'; #endif using namespace ::rtl; @@ -105,11 +105,11 @@ void SAL_CALL main( int argc, char** argv ) outputName = options.getOption("-O"); sal_Char c = outputName.getStr()[outputName.getLength()-1]; - if ( c != SEPERATOR ) - outputName += OString::valueOf(SEPERATOR); + if ( c != SEPARATOR ) + outputName += OString::valueOf(SEPARATOR); } - OString strippedFileName(files[i].copy(files[i].lastIndexOf(SEPERATOR) + 1)); + OString strippedFileName(files[i].copy(files[i].lastIndexOf(SEPARATOR) + 1)); outputName += strippedFileName.replaceAt(strippedFileName.getLength() -3 , 3, "urd"); removeIfExists(outputName); } else |