diff options
author | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-10-16 10:00:21 +0200 |
---|---|---|
committer | Giuseppe Castagno <giuseppe.castagno@acca-esse.eu> | 2016-10-18 06:41:44 +0000 |
commit | 296f8a579181a4ad0555e2e5eaa84db3ec2fafd1 (patch) | |
tree | 98ca738ca4d0943bc6bea595a4e796c0c3c06c96 | |
parent | 75ab2019a577813bcca2cdbe6aae38187cb52b50 (diff) |
tdf#103274 (5): Add default XCommandEnvironment reference
Change-Id: I77e89d1250499687c6fadc4408c1bed409f8b167
Reviewed-on: https://gerrit.libreoffice.org/29982
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index 4b6ea84a5ae4..46fca81d2ea2 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() ) { |