Kaydet (Commit) 75ab2019 authored tarafından Giuseppe Castagno's avatar Giuseppe Castagno

tdf#103274 (4): Add default XCommandEnvironment reference

Change-Id: I67ab0f37df9e8d239374d9a759f7c082b824c722
Reviewed-on: https://gerrit.libreoffice.org/29981Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>
üst 214dd031
......@@ -789,7 +789,7 @@ bool SfxObjectShell::DoLoad( SfxMedium *pMed )
try
{
::ucbhelper::Content aContent( pMedium->GetName(), css::uno::Reference < XCommandEnvironment >(), comphelper::getProcessComponentContext() );
::ucbhelper::Content aContent( pMedium->GetName(), utl::UCBContentHelper::getDefaultCommandEnvironment(), comphelper::getProcessComponentContext() );
css::uno::Reference < XPropertySetInfo > xProps = aContent.getProperties();
if ( xProps.is() )
{
......
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