summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/misc/dp_ucb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/misc/dp_ucb.cxx')
-rw-r--r--desktop/source/deployment/misc/dp_ucb.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/desktop/source/deployment/misc/dp_ucb.cxx b/desktop/source/deployment/misc/dp_ucb.cxx
index 9ec87c0f123f..f8ca15915d15 100644
--- a/desktop/source/deployment/misc/dp_ucb.cxx
+++ b/desktop/source/deployment/misc/dp_ucb.cxx
@@ -38,7 +38,7 @@
#include "com/sun/star/ucb/CommandFailedException.hpp"
#include "com/sun/star/ucb/ContentInfo.hpp"
#include "com/sun/star/ucb/ContentInfoAttribute.hpp"
-
+#include "comphelper/processfactory.hxx"
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
@@ -63,7 +63,8 @@ bool create_ucb_content(
// raise no such file dialogs, else no interaction for
// passwords, ...? xxx todo
::ucbhelper::Content ucbContent(
- url, Reference<XCommandEnvironment>() );
+ url, Reference<XCommandEnvironment>(),
+ comphelper::getProcessComponentContext() );
ucbContent.isFolder();