accessibility/source/standard/vclxaccessiblelistitem.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
New commits: commit 6958a8259c8ce75fd6d2625f39e3808c9ee88608 Author: Xisco Fauli <[email protected]> AuthorDate: Thu Oct 17 14:04:47 2024 +0200 Commit: Xisco Fauli <[email protected]> CommitDate: Thu Oct 17 21:00:01 2024 +0200 tdf#163486: PVS: identical conditional expressions V581: The conditional expressions of the 'if' statements situated alongside each other are identical. Check lines: 153, 157. Change-Id: I55b32aa4dfd479c3b64044a6749c3981f3b032a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175082 Reviewed-by: Xisco Fauli <[email protected]> Tested-by: Jenkins diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx index 90f4c8bbebce..7625d05cdf24 100644 --- a/accessibility/source/standard/vclxaccessiblelistitem.cxx +++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx @@ -151,11 +151,10 @@ void VCLXAccessibleListItem::disposing(std::unique_lock<std::mutex>& rGuard) m_nClientId = 0; Reference< XInterface > xEventSource; if ( nId ) + { xEventSource = *this; - // Send a disposing to all listeners. - if ( nId ) - { + // Send a disposing to all listeners. rGuard.unlock(); comphelper::AccessibleEventNotifier::revokeClientNotifyDisposing( nId, *this ); rGuard.lock();
