diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-09 15:17:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-12 09:13:34 +0200 |
commit | 42571e3d4e12c03f32197e9275fa203b86356942 (patch) | |
tree | 7b6df7bcdd58f7fa41fdf7780ed180d96764219e /extensions/source/propctrlr/standardcontrol.cxx | |
parent | improve naming of template parameters (diff) | |
download | core-42571e3d4e12c03f32197e9275fa203b86356942.tar.gz core-42571e3d4e12c03f32197e9275fa203b86356942.zip |
reduce the web of class relationships here a little
make CommonBehaviourControlHelper a base-class of the
CommonBehaviourControl template, which allows us to dispense with the
IModifyListener callback interface
Change-Id: I3c02b864fa08fc50515c11af859477e0fdc035e3
Diffstat (limited to 'extensions/source/propctrlr/standardcontrol.cxx')
-rw-r--r-- | extensions/source/propctrlr/standardcontrol.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/extensions/source/propctrlr/standardcontrol.cxx b/extensions/source/propctrlr/standardcontrol.cxx index 88d63ff2a2aa..3620e383dd08 100644 --- a/extensions/source/propctrlr/standardcontrol.cxx +++ b/extensions/source/propctrlr/standardcontrol.cxx @@ -223,7 +223,7 @@ namespace pcr // for password controls, we fire a commit for every single change if ( m_bIsPassword ) - m_aImplControl.notifyModifiedValue(); + notifyModifiedValue(); } @@ -787,7 +787,7 @@ namespace pcr if ( !getTypedControlWindow()->IsTravelSelect() ) // fire a commit - m_aImplControl.notifyModifiedValue(); + notifyModifiedValue(); } @@ -879,7 +879,7 @@ namespace pcr if ( !getTypedControlWindow()->IsTravelSelect() ) // fire a commit - m_aImplControl.notifyModifiedValue(); + notifyModifiedValue(); } @@ -947,7 +947,7 @@ namespace pcr { if ( !getTypedControlWindow()->IsTravelSelect() ) // fire a commit - m_aImplControl.notifyModifiedValue(); + notifyModifiedValue(); return 0L; } @@ -1058,13 +1058,13 @@ namespace pcr } - void DropDownEditControl::setControlHelper( ControlHelper& _rControlHelper ) + void DropDownEditControl::setControlHelper( CommonBehaviourControlHelper& _rControlHelper ) { DropDownEditControl_Base::setControlHelper( _rControlHelper ); - m_pFloatingEdit->getEdit().SetModifyHdl( LINK( &_rControlHelper, ControlHelper, ModifiedHdl ) ); - m_pImplEdit->SetGetFocusHdl( LINK( &_rControlHelper, ControlHelper, GetFocusHdl ) ); - m_pImplEdit->SetModifyHdl( LINK( &_rControlHelper, ControlHelper, ModifiedHdl ) ); - m_pImplEdit->SetLoseFocusHdl( LINK( &_rControlHelper, ControlHelper, LoseFocusHdl ) ); + m_pFloatingEdit->getEdit().SetModifyHdl( LINK( &_rControlHelper, CommonBehaviourControlHelper, ModifiedHdl ) ); + m_pImplEdit->SetGetFocusHdl( LINK( &_rControlHelper, CommonBehaviourControlHelper, GetFocusHdl ) ); + m_pImplEdit->SetModifyHdl( LINK( &_rControlHelper, CommonBehaviourControlHelper, ModifiedHdl ) ); + m_pImplEdit->SetLoseFocusHdl( LINK( &_rControlHelper, CommonBehaviourControlHelper, LoseFocusHdl ) ); } |