diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 172134901f1c..54d26c3c7546 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -216,6 +216,7 @@ ControlModelContainerBase::ControlModelContainerBase( const Reference< XComponen ,maChangeListeners ( GetMutex() ) ,mbGroupsUpToDate( sal_False ) ,m_bEnabled( sal_True ) + ,m_nTabPageId(0) { } @@ -224,6 +225,8 @@ ControlModelContainerBase::ControlModelContainerBase( const ControlModelContaine , maContainerListeners( *this ) , maChangeListeners ( GetMutex() ) , mbGroupsUpToDate( sal_False ) + , m_bEnabled( rModel.m_bEnabled ) + , m_nTabPageId( rModel.m_nTabPageId ) { }