diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-21 12:14:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-25 13:53:21 +0200 |
commit | 4583911575edf98ccd5b15af8eafa6a3a7b64034 (patch) | |
tree | f3f33e53c45dd870f19e7e42db9bb5b4bf1f23bf /ucb | |
parent | 1942182a3d1817bc539229d7fda3af69f7e295b8 (diff) |
improve loplugin:simplifyconstruct
Change-Id: If863d28c6db470faa0d22273020888d4219e069e
Reviewed-on: https://gerrit.libreoffice.org/74559
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/cacher/contentresultsetwrapper.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ucb/source/cacher/contentresultsetwrapper.cxx b/ucb/source/cacher/contentresultsetwrapper.cxx index d1e085a3f826..99ffd1433364 100644 --- a/ucb/source/cacher/contentresultsetwrapper.cxx +++ b/ucb/source/cacher/contentresultsetwrapper.cxx @@ -64,8 +64,7 @@ void ContentResultSetWrapper::impl_init_xRowOrigin() return; } - Reference< XRow > xOrgig = - Reference< XRow >( m_xResultSetOrigin, UNO_QUERY ); + Reference< XRow > xOrgig( m_xResultSetOrigin, UNO_QUERY ); { osl::Guard< osl::Mutex > aGuard( m_aMutex ); @@ -82,8 +81,7 @@ void ContentResultSetWrapper::impl_init_xContentAccessOrigin() return; } - Reference< XContentAccess > xOrgig = - Reference< XContentAccess >( m_xResultSetOrigin, UNO_QUERY ); + Reference< XContentAccess > xOrgig( m_xResultSetOrigin, UNO_QUERY ); { osl::Guard< osl::Mutex > aGuard( m_aMutex ); @@ -101,8 +99,7 @@ void ContentResultSetWrapper::impl_init_xPropertySetOrigin() return; } - Reference< XPropertySet > xOrig = - Reference< XPropertySet >( m_xResultSetOrigin, UNO_QUERY ); + Reference< XPropertySet > xOrig( m_xResultSetOrigin, UNO_QUERY ); { osl::Guard< osl::Mutex > aGuard( m_aMutex ); |