summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorAndreas Bille <abi@openoffice.org>2001-06-13 13:03:19 +0000
committerAndreas Bille <abi@openoffice.org>2001-06-13 13:03:19 +0000
commiteb2fcda1fd4379481adf5957c913228c4f9e5852 (patch)
treefd863eaa0edb317f183f3cd3a066f82b6c49e6ff /xmlhelp
parent42d1653fb2ba745e2b93e3fcf57274fb889f8ebb (diff)
#87493#
One more bug under windows in Sablotron XSLT processor: one slash missing in fileurl
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 );