summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-18 08:21:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-18 08:21:43 +0200
commit8ed8bb24b5300267f83be9ff537599537ffa4cb0 (patch)
tree73bfbd0d57b228c3c6f5584f84a820d44c82db66 /sfx2
parentc673a1f1212060dd5c5b9017354ad54321bb9549 (diff)
Adapt Windows-only code to changed ucbhelper::Content
Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/appdde.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 94067d9ae111..2f28591e51e2 100644
--- a/sfx2/source/appl/appdde.cxx
+++ b/sfx2/source/appl/appdde.cxx
@@ -40,6 +40,7 @@
#include <sfx2/sfxsids.hrc>
#include "helper.hxx"
#include <sfx2/docfile.hxx>
+#include <comphelper/processfactory.hxx>
#include <comphelper/string.hxx>
#include <com/sun/star/ucb/IllegalIdentifierException.hpp>
@@ -86,7 +87,7 @@ namespace
try
{
- ::ucbhelper::Content aCnt( aObj.GetMainURL( INetURLObject::NO_DECODE ), uno::Reference< ucb::XCommandEnvironment > () );
+ ::ucbhelper::Content aCnt( aObj.GetMainURL( INetURLObject::NO_DECODE ), uno::Reference< ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
bRet = aCnt.isDocument();
}
catch( const ucb::CommandAbortedException& )