summaryrefslogtreecommitdiff
path: root/tools/bootstrp/rscdep.cxx
diff options
context:
space:
mode:
authorHans-Joachim Lankenau <hjs@openoffice.org>2001-06-13 12:42:22 +0000
committerHans-Joachim Lankenau <hjs@openoffice.org>2001-06-13 12:42:22 +0000
commitf4da2479bd9c531ceabc67d7747448d79ff47125 (patch)
treedef69e4ba6305b992ae812ef4cc3b0b69c7eeec1 /tools/bootstrp/rscdep.cxx
parentfe5b118833113441c8cbabfec1e6003e763dcc13 (diff)
replace delimiter
Diffstat (limited to 'tools/bootstrp/rscdep.cxx')
-rw-r--r--tools/bootstrp/rscdep.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/tools/bootstrp/rscdep.cxx b/tools/bootstrp/rscdep.cxx
index ec7eb7489687..60b5738d018c 100644
--- a/tools/bootstrp/rscdep.cxx
+++ b/tools/bootstrp/rscdep.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: rscdep.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: nf $ $Date: 2001-05-08 10:56:35 $
+ * last change: $Author: hjs $ $Date: 2001-06-13 13:42:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -358,6 +358,12 @@ main( int argc, char **argv )
for ( ULONG j=0; j<nCount; j++ )
{
ByteString *pStr = pLst->GetObject(j);
+#ifdef UNX
+ pStr->SearchAndReplaceAll('\', ByteString( aDelim, RTL_TEXTENCODING_ASCII_US ));
+#endif
+#ifdef WNT
+ pStr->SearchAndReplaceAll('/', ByteString( aDelim, RTL_TEXTENCODING_ASCII_US ));
+#endif
if ( j != (nCount-1) )
*pStr += ByteString( "\\" );
aOutStream.WriteLine( *pStr );