sfx2/source/appl/appdde.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8ed8bb24b5300267f83be9ff537599537ffa4cb0 Author: Stephan Bergmann <sberg...@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& ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits