summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-06 12:38:27 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-03-06 13:15:51 +0000
commit38fd98a0513638634868132e9c922366bcc8c622 (patch)
tree5931b457093d98324a301b3bd5bce29f43093715 /unotools
parent27c5268dd9908b749ca251e172944278d761a335 (diff)
XUniversalContentBroker pBroker unused directly
since... commit 1ce99678e5647076da3c152f0b7350e5ddd410e4 Author: Stephan Bergmann <sbergman@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
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/ucbhelper/tempfile.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/tempfile.cxx b/unotools/source/ucbhelper/tempfile.cxx
index fa2cbf567436..0cc28876d78c 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)