summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/plugin/base/context.cxx6
-rw-r--r--extensions/source/plugin/base/xplugin.cxx6
-rw-r--r--extensions/source/preload/oemwiz.cxx6
3 files changed, 9 insertions, 9 deletions
diff --git a/extensions/source/plugin/base/context.cxx b/extensions/source/plugin/base/context.cxx
index f248bdd97617..7ff7a2d337ef 100644
--- a/extensions/source/plugin/base/context.cxx
+++ b/extensions/source/plugin/base/context.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: context.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: pl $ $Date: 2002-04-11 11:54:19 $
+ * last change: $Author: rt $ $Date: 2002-12-03 10:31:03 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -165,7 +165,7 @@ void XPluginContext_Impl::getURL(const Reference< ::com::sun::star::plugin::XPlu
// the mimetype cannot be specified
plugin->provideNewStream( ::rtl::OUString(),
Reference< XActiveDataSource >(),
- aURL.GetMainURL(),
+ aURL.GetMainURL(INetURLObject::DECODE_TO_IURI),
0, 0, sal_False );
return;
}
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index abbd9800655e..9b52f024a87b 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xplugin.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: dbo $ $Date: 2001-12-07 10:54:52 $
+ * last change: $Author: rt $ $Date: 2002-12-03 10:31:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -806,7 +806,7 @@ void PluginInputStream::load()
{
m_pContent =
new ::ucb::Content(
- aUrl.GetMainURL(),
+ aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI),
Reference< ::com::sun::star::ucb::XCommandEnvironment >()
);
m_pContent->openStream( static_cast< XOutputStream* >( this ) );
diff --git a/extensions/source/preload/oemwiz.cxx b/extensions/source/preload/oemwiz.cxx
index 83124172f8be..ccfb50ba5822 100644
--- a/extensions/source/preload/oemwiz.cxx
+++ b/extensions/source/preload/oemwiz.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: oemwiz.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: iha $ $Date: 2002-11-25 19:54:38 $
+ * last change: $Author: rt $ $Date: 2002-12-03 10:34:11 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -286,7 +286,7 @@ namespace preload
sFileName = URIHelper::SmartRelToAbs(sFileName);
INetURLObject aURLObject(sFileName);
aURLObject.removeSegment();
- sFileName = aURLObject.GetMainURL();
+ sFileName = aURLObject.GetMainURL(INetURLObject::DECODE_TO_IURI);
sFileName += rFileName;
SfxMedium aMedium( sFileName,STREAM_READ, TRUE );