[Libreoffice-commits] .: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Sep 17 23:22:22 PDT 2012
sfx2/source/appl/appdde.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 8ed8bb24b5300267f83be9ff537599537ffa4cb0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Sep 18 08:21:43 2012 +0200
Adapt Windows-only code to changed ucbhelper::Content
Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
diff --git a/sfx2/source/appl/appdde.cxx b/sfx2/source/appl/appdde.cxx
index 94067d9..2f28591 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& )
More information about the Libreoffice-commits
mailing list