Kaydet (Commit) 8ed8bb24 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Adapt Windows-only code to changed ucbhelper::Content

Change-Id: I1ed4a59b7eef5f841754bc616ad94cbd82227ad0
üst c673a1f1
......@@ -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& )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment