diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-03-02 10:48:52 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-03-03 08:48:55 +0100 |
commit | 31693833dc832228c3821f83e045b6869ec22cf2 (patch) | |
tree | 857d10b7f833636b4184dd5dccdc472e22b28cc2 /winaccessibility | |
parent | c2d1d20927af6f265080f041a9aba04733be26fb (diff) |
loplugin:referencecasting (clang-cl)
Change-Id: If32c6f6d3618c134cfb2ac89e827491525c34687
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111811
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/source/service/AccObjectWinManager.cxx | 2 | ||||
-rw-r--r-- | winaccessibility/source/service/msaaservice_impl.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/winaccessibility/source/service/AccObjectWinManager.cxx b/winaccessibility/source/service/AccObjectWinManager.cxx index 1e74be1d0369..4022a700eca1 100644 --- a/winaccessibility/source/service/AccObjectWinManager.cxx +++ b/winaccessibility/source/service/AccObjectWinManager.cxx @@ -721,7 +721,7 @@ bool AccObjectWinManager::InsertAccObj( XAccessible* pXAcc,XAccessible* pParentX Reference<XAccessibleEventBroadcaster> broadcaster(xComponent,UNO_QUERY); if (broadcaster.is()) { - Reference<XAccessibleEventListener> const xListener(pListener.get()); + Reference<XAccessibleEventListener> const xListener(pListener); broadcaster->addAccessibleEventListener(xListener); } else diff --git a/winaccessibility/source/service/msaaservice_impl.cxx b/winaccessibility/source/service/msaaservice_impl.cxx index be9fd22ba58e..13f10a6d7d74 100644 --- a/winaccessibility/source/service/msaaservice_impl.cxx +++ b/winaccessibility/source/service/msaaservice_impl.cxx @@ -235,7 +235,7 @@ MSAAServiceImpl::MSAAServiceImpl() if( xToolkit.is() ) { m_pTopWindowListener.set(new AccTopWindowListener()); - Reference<XTopWindowListener> const xRef(m_pTopWindowListener.get()); + Reference<XTopWindowListener> const xRef(m_pTopWindowListener); xToolkit->addTopWindowListener( xRef ); SAL_INFO( "iacc2", "successfully connected to the toolkit event hose" ); } |