From 389da66dfc96d06c407bff156c4ea21e940c5e06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 May 2017 15:40:42 +0200 Subject: remove unused uno::Reference vars found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins Reviewed-by: Noel Grandin --- unotools/source/ucbhelper/ucbstreamhelper.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'unotools') 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 ) { -- cgit