diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-20 11:30:11 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2024-10-20 16:15:22 +0200 |
commit | c73c69db6b4cfb77dae5859525692f97c6ffd707 (patch) | |
tree | 2690ea50221acc066f0057bf7734008ddf2da5e6 /toolkit/source | |
parent | 990d710bf772df3b5ec9b17bc43ef5b62042b39c (diff) |
tdf#163486: PVS: fix copy&paste error
Since
commit 32cd4a92ef227bacd70be5c325a7e0d82bc90a7e
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Wed Jun 27 11:18:37 2007 +0000
INTEGRATION: CWS awttree01 (1.1.2); FILE ADDED
V524 It is odd that the body of 'removeSelectionChangeListener' function is fully equivalent to the body of 'addSelectionChangeListener' function.
Change-Id: I807520da4515ae8dfb070b29aa772bab1ade592b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175254
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'toolkit/source')
-rw-r--r-- | toolkit/source/controls/tree/treecontrolpeer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/tree/treecontrolpeer.cxx b/toolkit/source/controls/tree/treecontrolpeer.cxx index 94390ceed15a..4ad836db314a 100644 --- a/toolkit/source/controls/tree/treecontrolpeer.cxx +++ b/toolkit/source/controls/tree/treecontrolpeer.cxx @@ -538,7 +538,7 @@ void SAL_CALL TreeControlPeer::addSelectionChangeListener( const Reference< XSel void SAL_CALL TreeControlPeer::removeSelectionChangeListener( const Reference< XSelectionChangeListener >& xListener ) { - maSelectionListeners.addInterface( xListener ); + maSelectionListeners.removeInterface( xListener ); } |