summaryrefslogtreecommitdiff
path: root/ucb/source/ucp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-11 15:40:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-12 09:56:01 +0200
commit389da66dfc96d06c407bff156c4ea21e940c5e06 (patch)
tree2d1ebce6bdb2d952700ed5aaeb808289e9f72a7d /ucb/source/ucp
parenta651dbcfca9e198b5c2561076961504586bc6bea (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp')
-rw-r--r--ucb/source/ucp/ext/ucpext_content.cxx2
-rw-r--r--ucb/source/ucp/file/filtask.cxx1
-rw-r--r--ucb/source/ucp/package/pkgcontent.cxx1
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx1
4 files changed, 0 insertions, 5 deletions
diff --git a/ucb/source/ucp/ext/ucpext_content.cxx b/ucb/source/ucp/ext/ucpext_content.cxx
index ab6beb731525..1dd52774ab9f 100644
--- a/ucb/source/ucp/ext/ucpext_content.cxx
+++ b/ucb/source/ucp/ext/ucpext_content.cxx
@@ -384,8 +384,6 @@ namespace ucb { namespace ucp { namespace ext
const sal_Int32 nCount = i_rProperties.getLength();
if ( nCount )
{
- Reference< XPropertySet > xAdditionalPropSet;
-
const Property* pProps = i_rProperties.getConstArray();
for ( sal_Int32 n = 0; n < nCount; ++n )
{
diff --git a/ucb/source/ucp/file/filtask.cxx b/ucb/source/ucp/file/filtask.cxx
index e78bb9ed46eb..efad9a8ed735 100644
--- a/ucb/source/ucp/file/filtask.cxx
+++ b/ucb/source/ucp/file/filtask.cxx
@@ -673,7 +673,6 @@ void SAL_CALL TaskManager::page( sal_Int32 CommandId,
const OUString& aUnqPath,
const uno::Reference< io::XOutputStream >& xOutputStream )
{
- uno::Reference< XContentProvider > xProvider( m_pProvider );
osl::File aFile( aUnqPath );
osl::FileBase::RC err = aFile.open( osl_File_OpenFlag_Read );
diff --git a/ucb/source/ucp/package/pkgcontent.cxx b/ucb/source/ucp/package/pkgcontent.cxx
index 585f01b402cf..afc8a4c49557 100644
--- a/ucb/source/ucp/package/pkgcontent.cxx
+++ b/ucb/source/ucp/package/pkgcontent.cxx
@@ -2154,7 +2154,6 @@ uno::Reference< container::XHierarchicalNameAccess > Content::getPackage(
{
osl::Guard< osl::Mutex > aGuard( m_aMutex );
- uno::Reference< container::XHierarchicalNameAccess > xPackage;
if ( rURI.getPackage() == m_aUri.getPackage() )
{
if ( !m_xPackage.is() )
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
index 5603f49798af..7252f77c0925 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
@@ -495,7 +495,6 @@ void DAVResourceAccess::GET0(
{
initialize();
- uno::Reference< io::XInputStream > xStream;
int errorCount = 0;
bool bRetry;
do