summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 071770a6c7a1..cbcfd796693f 100644
--- a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
+++ b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: urlparameter.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: abi $ $Date: 2001-06-13 13:16:11 $
+ * last change: $Author: abi $ $Date: 2001-06-13 14:03:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -719,7 +719,11 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
rtl::OUString xslURL = pDatabases->getInstallPathAsURL();
rtl::OString xslURLascii = "file:";
+#ifdef WIN32
+#define OFFSET 6
+#else
#define OFFSET 5
+#endif
xslURLascii += rtl::OString( xslURL.getStr()+OFFSET,
xslURL.getLength()-OFFSET,
RTL_TEXTENCODING_UTF8 );