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

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Mon Oct 17 18:36:36 UTC 2016


 unotools/source/ucbhelper/ucbhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 50f08e87346f684666fce484f5b80f0189172366
Author: Giuseppe Castagno <giuseppe.castagno at acca-esse.eu>
Date:   Sat Oct 15 16:16:30 2016 +0200

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

diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index 271a330..93ad0a67 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -78,7 +78,7 @@ ucbhelper::Content content(OUString const & url) {
 ucbhelper::Content content(INetURLObject const & url) {
     return ucbhelper::Content(
         url.GetMainURL(INetURLObject::NO_DECODE),
-        css::uno::Reference<css::ucb::XCommandEnvironment>(),
+        utl::UCBContentHelper::getDefaultCommandEnvironment(),
         comphelper::getProcessComponentContext());
 }
 


More information about the Libreoffice-commits mailing list