[Libreoffice-commits] core.git: sfx2/source

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Tue Oct 18 06:41:45 UTC 2016


 sfx2/source/doc/objstor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 75ab2019a577813bcca2cdbe6aae38187cb52b50
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Sun Oct 16 09:36:28 2016 +0200

    tdf#103274 (4): Add default XCommandEnvironment reference
    
    Change-Id: I67ab0f37df9e8d239374d9a759f7c082b824c722
    Reviewed-on: https://gerrit.libreoffice.org/29981
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>

diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index d4e82fa..4b6ea84 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -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() )
             {


More information about the Libreoffice-commits mailing list