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

New commits:
commit 75ab2019a577813bcca2cdbe6aae38187cb52b50
Author: Giuseppe Castagno <giuseppe.casta...@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 <c...@libreoffice.org>
    Reviewed-by: Giuseppe Castagno <giuseppe.casta...@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() )
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to