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

New commits:
commit 4009470eca063b7001941cc21580617f0288298c
Author: Giuseppe Castagno <giuseppe.casta...@acca-esse.eu>
Date:   Sun Oct 16 10:05:42 2016 +0200

    tdf#103274 (6): Add default XCommandEnvironment reference
    
    Change-Id: I71d83f1094800c3156f9159b6628e4d53d723b95
    Reviewed-on: https://gerrit.libreoffice.org/29991
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Giuseppe Castagno <giuseppe.casta...@acca-esse.eu>

diff --git a/sfx2/source/doc/sfxbasemodel.cxx b/sfx2/source/doc/sfxbasemodel.cxx
index 0381dc0..23c4478 100644
--- a/sfx2/source/doc/sfxbasemodel.cxx
+++ b/sfx2/source/doc/sfxbasemodel.cxx
@@ -2582,7 +2582,7 @@ bool SfxBaseModel::getBoolPropertyValue( const OUString& 
rName ) throw ( Runtime
             try
             {
                 ::ucbhelper::Content aContent( pMedium->GetName( ),
-                    Reference<ucb::XCommandEnvironment>(),
+                    utl::UCBContentHelper::getDefaultCommandEnvironment(),
                     comphelper::getProcessComponentContext() );
                 Reference < beans::XPropertySetInfo > xProps = 
aContent.getProperties();
                 if ( xProps->hasPropertyByName( rName ) )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to