summaryrefslogtreecommitdiff
path: root/unotools/source/ucbhelper/ucbstreamhelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unotools/source/ucbhelper/ucbstreamhelper.cxx')
-rw-r--r--unotools/source/ucbhelper/ucbstreamhelper.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/unotools/source/ucbhelper/ucbstreamhelper.cxx b/unotools/source/ucbhelper/ucbstreamhelper.cxx
index 034eaf287d33..2dc622643ee7 100644
--- a/unotools/source/ucbhelper/ucbstreamhelper.cxx
+++ b/unotools/source/ucbhelper/ucbstreamhelper.cxx
@@ -47,9 +47,6 @@ static SvStream* lcl_CreateStream( const OUString& rFileName, StreamMode eOpenMo
bool bEnsureFileExists )
{
SvStream* pStream = nullptr;
- Reference< XUniversalContentBroker > ucb(
- UniversalContentBroker::create(
- comphelper::getProcessComponentContext() ) );
UcbLockBytesRef xLockBytes;
if ( eOpenMode & StreamMode::WRITE )
{