summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 14:51:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-03 16:34:45 +0200
commit9db8406b839df8a892d025e054e818def4a60edc (patch)
tree8e0b8c62ef7c483a633ec6c8430523eca4cee6f5 /vcl/source/control
parent09f77e8ed51fc64fccc6a14e87eed48b2f15a28d (diff)
loplugin:virtualdead
Change-Id: I86bae18ed2682871032aeb2a178f49f3e4601129 Reviewed-on: https://gerrit.libreoffice.org/80129 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/tabctrl.cxx1
-rw-r--r--vcl/source/control/wizardmachine.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx
index 522bf6e66310..736579277bbe 100644
--- a/vcl/source/control/tabctrl.cxx
+++ b/vcl/source/control/tabctrl.cxx
@@ -660,7 +660,6 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId )
{
if ( mbRestoreHelpId )
pCtrlParent->SetHelpId( OString() );
- pOldPage->DeactivatePage();
}
if ( pPage )
diff --git a/vcl/source/control/wizardmachine.cxx b/vcl/source/control/wizardmachine.cxx
index c049f9a3e987..b5f1afd5b0c8 100644
--- a/vcl/source/control/wizardmachine.cxx
+++ b/vcl/source/control/wizardmachine.cxx
@@ -321,8 +321,6 @@ namespace vcl
return;
TabPage* pOldTabPage = mpCurTabPage;
- if ( pOldTabPage )
- pOldTabPage->DeactivatePage();
mpCurTabPage = pTabPage;
if ( pTabPage )
@@ -582,9 +580,6 @@ namespace vcl
bool RoadmapWizard::Finish( long nResult )
{
- if ( mpCurTabPage )
- mpCurTabPage->DeactivatePage();
-
if ( IsInExecute() )
EndDialog( nResult );
else if ( GetStyle() & WB_CLOSEABLE )