summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)