summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2003-05-28 12:29:54 +0000
committerVladimir Glazounov <vg@openoffice.org>2003-05-28 12:29:54 +0000
commit0b636f699d8adaa89c15be206b1a96f200a88d7e (patch)
treed75b41e1b38fc125cc79d47f426088e2e45fa278 /xmlhelp
parent3f82e72cd9a5fda29d401130cdcd975a4d99e613 (diff)
INTEGRATION: CWS fwk04 (1.29.10); FILE MERGED
2003/05/26 15:48:28 abi 1.29.10.2: #109863# removed now unused variable 2003/05/26 14:46:39 abi 1.29.10.1: #109863# fixing several bugs in sablot makes workaround unnecessary
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/urlparameter.cxx18
1 files changed, 6 insertions, 12 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/urlparameter.cxx b/xmlhelp/source/cxxhelp/provider/urlparameter.cxx
index 00eb185cdb19..4e5cb67c2236 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.29 $
+ * $Revision: 1.30 $
*
- * last change: $Author: hr $ $Date: 2003-04-04 17:09:59 $
+ * last change: $Author: vg $ $Date: 2003-05-28 13:29:54 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -877,16 +877,10 @@ InputStreamTransformer::InputStreamTransformer( URLParameter* urlParam,
SablotRegHandler( p,HLR_SCHEME,&schemeHandler,(void*)(&userData) );
rtl::OUString xslURL = pDatabases->getInstallPathAsURLWithOutEncoding();
- rtl::OString xslURLascii = "file:";
-#ifdef WIN32
-#define OFFSET 6
-#else
-#define OFFSET 5
-#endif
- xslURLascii += rtl::OString( xslURL.getStr()+OFFSET,
- xslURL.getLength()-OFFSET,
- osl_getThreadTextEncoding() );
-#undef OFFSET
+ rtl::OString xslURLascii(
+ xslURL.getStr(),
+ xslURL.getLength(),
+ osl_getThreadTextEncoding());
xslURLascii += "main_transform.xsl";
SablotRunProcessor( p,