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

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Tue Oct 18 13:52:17 UTC 2016


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

New commits:
commit aaa3072313267c17fa30b56ea7e81e6ac00339c1
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Sun Oct 16 10:09:44 2016 +0200

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

diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 23c4478..55bbf0a 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2628,7 +2628,7 @@ void SfxBaseModel::loadCmisProperties( )
         try
         {
             ::ucbhelper::Content aContent( pMedium->GetName( ),
-                Reference<ucb::XCommandEnvironment>(),
+                utl::UCBContentHelper::getDefaultCommandEnvironment(),
                 comphelper::getProcessComponentContext() );
             Reference < beans::XPropertySetInfo > xProps = aContent.getProperties();
             OUString aCmisProps( "CmisProperties" );


More information about the Libreoffice-commits mailing list