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

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


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

New commits:
commit 296f8a579181a4ad0555e2e5eaa84db3ec2fafd1
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Sun Oct 16 10:00:21 2016 +0200

    tdf#103274 (5): Add default XCommandEnvironment reference
    
    Change-Id: I77e89d1250499687c6fadc4408c1bed409f8b167
    Reviewed-on: https://gerrit.libreoffice.org/29982
    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 4b6ea84..46fca81 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -1703,7 +1703,7 @@ bool SfxObjectShell::SaveTo_Impl
     {
         try
         {
-            ::ucbhelper::Content aContent( rMedium.GetName(), css::uno::Reference < XCommandEnvironment >(), comphelper::getProcessComponentContext() );
+            ::ucbhelper::Content aContent( rMedium.GetName(), utl::UCBContentHelper::getDefaultCommandEnvironment(), comphelper::getProcessComponentContext() );
             css::uno::Reference < XPropertySetInfo > xProps = aContent.getProperties();
             if ( xProps.is() )
             {


More information about the Libreoffice-commits mailing list