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

New commits:
commit 296f8a579181a4ad0555e2e5eaa84db3ec2fafd1
Author: Giuseppe Castagno <[email protected]>
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 <[email protected]>
    Reviewed-by: Giuseppe Castagno <[email protected]>

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() )
             {
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to