summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods1.cxx
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2001-08-20 07:01:44 +0000
committerAndreas Bregas <ab@openoffice.org>2001-08-20 07:01:44 +0000
commit36a3c3bce9ca4100b31856c865746c6c897320d9 (patch)
tree86fd0b2ea93439fcd8fcb024300d8f4672ae39ae /basic/source/runtime/methods1.cxx
parent7fa1fbf70d5660b3a3526b5b4abdf05d7f8bcb1c (diff)
#91222# RTL function ConvertToUrl(): Use NO_DECODE option
Diffstat (limited to 'basic/source/runtime/methods1.cxx')
-rw-r--r--basic/source/runtime/methods1.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 23f7448f5affc..bdf62aae77b78 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: methods1.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: ab $ $Date: 2001-06-18 12:35:41 $
+ * last change: $Author: ab $ $Date: 2001-08-20 08:01:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1310,7 +1310,7 @@ RTLFUNC(ConvertToUrl)
{
String aStr = rPar.Get(1)->GetString();
INetURLObject aURLObj( aStr, INET_PROT_FILE );
- OUString aFileURL = aURLObj.GetMainURL();
+ OUString aFileURL = aURLObj.GetMainURL( INetURLObject::NO_DECODE );
if( !aFileURL.getLength() )
::osl::File::getFileURLFromSystemPath( aFileURL, aFileURL );
if( !aFileURL.getLength() )