diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-18 08:21:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-18 08:21:43 +0200 |
commit | 8ed8bb24b5300267f83be9ff537599537ffa4cb0 (patch) | |
tree | 73bfbd0d57b228c3c6f5584f84a820d44c82db66 /sfx2 | |
parent | Test for setting current page back to '- all -' in pivot table. (diff) | |
download | core-8ed8bb24b5300267f83be9ff537599537ffa4cb0.tar.gz core-8ed8bb24b5300267f83be9ff537599537ffa4cb0.zip |
Adapt Windows-only code to changed ucbhelper::Content
Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appdde.cxx | 3 |
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& ) |