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

Caolán McNamara caolanm at redhat.com
Mon Mar 6 13:16:44 UTC 2017


 unotools/source/ucbhelper/tempfile.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 38fd98a0513638634868132e9c922366bcc8c622
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Mar 6 12:38:27 2017 +0000

    XUniversalContentBroker pBroker unused directly
    
    since...
    
    commit 1ce99678e5647076da3c152f0b7350e5ddd410e4
    Author: Stephan Bergmann <sbergman at redhat.com>
    Date:   Tue Aug 18 15:23:03 2015 +0200
    
        Simplify from ucbhelper::getSystemPathFromFileURL to osl::FileBase
    
        (vnd.sun.star.wfs is long gone)
    
    Change-Id: I91a72bd9104df2e0ab640b67d0ec34fc172c36e9

diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index fa2cbf5..0cc2887 100644
--- a/unotools/source/ucbhelper/tempfile.cxx
+++ b/unotools/source/ucbhelper/tempfile.cxx
@@ -116,9 +116,6 @@ OUString ConstructTempDir_Impl( const OUString* pParent )
     OUString aName;
     if ( pParent && !pParent->isEmpty() )
     {
-        css::uno::Reference< css::ucb::XUniversalContentBroker > pBroker(
-                css::ucb::UniversalContentBroker::create( comphelper::getProcessComponentContext() ) );
-
         // test for valid filename
         OUString aRet;
         if ((osl::FileBase::getSystemPathFromFileURL(*pParent, aRet)


More information about the Libreoffice-commits mailing list