diff options
Diffstat (limited to 'sfx2/source/dialog/itemconnect.cxx')
-rw-r--r-- | sfx2/source/dialog/itemconnect.cxx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx index 0cffdf5217ab..6653a8dd20aa 100644 --- a/sfx2/source/dialog/itemconnect.cxx +++ b/sfx2/source/dialog/itemconnect.cxx @@ -146,35 +146,6 @@ void CheckBoxWrapper::SetControlValue( sal_Bool bValue ) // ---------------------------------------------------------------------------- -EditWrapper::EditWrapper( Edit& rEdit ) : - SingleControlWrapperType( rEdit ) -{ -} - -bool EditWrapper::IsControlDontKnow() const -{ - // no "don't know" state - empty string is a valid value of an Edit - return false; -} - -void EditWrapper::SetControlDontKnow( bool bSet ) -{ - if( bSet ) - GetControl().SetText( String() ); -} - -String EditWrapper::GetControlValue() const -{ - return GetControl().GetText(); -} - -void EditWrapper::SetControlValue( String aValue ) -{ - GetControl().SetText( aValue ); -} - -// ---------------------------------------------------------------------------- - ColorListBoxWrapper::ColorListBoxWrapper(ColorListBox & rListBox): SingleControlWrapper< ColorListBox, Color >(rListBox) {} @@ -262,11 +233,6 @@ ItemConnectionBase::~ItemConnectionBase() { } -void ItemConnectionBase::Activate( bool bActive ) -{ - if( bActive ) mnFlags &= ~ITEMCONN_INACTIVE; else mnFlags |= ITEMCONN_INACTIVE; -} - bool ItemConnectionBase::IsActive() const { return !(mnFlags & ITEMCONN_INACTIVE); |