summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/xplugin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/base/xplugin.cxx')
-rw-r--r--extensions/source/plugin/base/xplugin.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/source/plugin/base/xplugin.cxx b/extensions/source/plugin/base/xplugin.cxx
index f799acae6ca1..9192f2f67252 100644
--- a/extensions/source/plugin/base/xplugin.cxx
+++ b/extensions/source/plugin/base/xplugin.cxx
@@ -44,6 +44,7 @@
#include <com/sun/star/plugin/PluginManager.hpp>
#include <comphelper/componentcontext.hxx>
+#include <comphelper/processfactory.hxx>
#include <plugin/impl.hxx>
#include <tools/fsys.hxx>
#include <ucbhelper/content.hxx>
@@ -1039,7 +1040,8 @@ void PluginInputStream::load()
m_pContent =
new ::ucbhelper::Content(
aUrl.GetMainURL(INetURLObject::DECODE_TO_IURI),
- uno::Reference< com::sun::star::ucb::XCommandEnvironment >()
+ uno::Reference< com::sun::star::ucb::XCommandEnvironment >(),
+ comphelper::getProcessComponentContext()
);
m_pContent->openStream( static_cast< XOutputStream* >( this ) );
}