diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-07 08:46:05 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-04-07 10:16:11 +0200 |
commit | 7224bb9bcdd24b0f07eae9c0b5d71a8b9e7926ea (patch) | |
tree | 5b8f7b8c1b043cb029d79e5cf9ed89181f082510 /ucb | |
parent | 97ac4de1e3a41a346e19aa3ca3a4e05594073ae7 (diff) |
loplugin:unusedvariableplus in ucb,xmlscript
Change-Id: I8fac8c7766df7c6be489280fcac2a423183429c3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91790
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/tdoc/tdoc_storage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ucb/source/ucp/tdoc/tdoc_storage.cxx b/ucb/source/ucp/tdoc/tdoc_storage.cxx index 014065416cb5..49493ec7b73f 100644 --- a/ucb/source/ucp/tdoc/tdoc_storage.cxx +++ b/ucb/source/ucp/tdoc/tdoc_storage.cxx @@ -179,9 +179,9 @@ StorageElementFactory::createStorage( const OUString & rUri, } else if ( osl_atomic_increment( &aIt->second->m_refCount ) > 1 ) { - rtl::Reference< Storage > xElement( aIt->second ); + uno::Reference< embed::XStorage > xElement( aIt->second ); osl_atomic_decrement( &aIt->second->m_refCount ); - return aIt->second; + return xElement; } else { |