summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-10-20 11:31:53 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-10-20 16:15:52 +0200
commit001c3919aabc6713835f67e9cd86ece88c68736e (patch)
tree312e6e8312f73e5a700f0d33c8cb9d6a3c332f4e /toolkit
parentc73c69db6b4cfb77dae5859525692f97c6ffd707 (diff)
tdf#163486: PVS: fix copy&paste error
Since commit 95824f8636a604cb498f6e7d62ff0ed3d6b2d5ba Author: Noel Power <noel.power@novell.com> Date: Tue Nov 2 16:55:17 2010 +0000 initial import of latest cws container_controls V524 It is odd that the body of 'removeTabListener' function is fully equivalent to the body of 'addTabListener' function. Change-Id: Iafa1f374564ab425e8c22f4e706d361f03d3183e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175255 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Jenkins
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxwindows.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index ece671c42592..f1162b68cf56 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2562,7 +2562,7 @@ void SAL_CALL VCLXMultiPage::addTabListener( const uno::Reference< awt::XTabList
void SAL_CALL VCLXMultiPage::removeTabListener( const uno::Reference< awt::XTabListener >& xListener )
{
SolarMutexGuard aGuard;
- maTabListeners.addInterface( xListener );
+ maTabListeners.removeInterface( xListener );
}
void SAL_CALL VCLXMultiPage::setTabProps( sal_Int32 ID, const uno::Sequence< beans::NamedValue >& Properties )