diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-28 13:37:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-04 17:14:26 +0000 |
commit | 43bc3031483d172eccd72c3804e2d4fc2ef37de4 (patch) | |
tree | 991d98e8e61fae47ada28ba7a0b02e1d6c8e443f /sfx2/source | |
parent | 44523738f094ff3987e85ea0c47b8c636bbe5786 (diff) |
unify color selectors
Note: this removes the use of auto-color from writer's asian text grid, because
its always invisible as far as I can see in practice.
Change-Id: Ie850790d740a4d56c43015e493e093678cef3b4e
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/itemconnect.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sfx2/source/dialog/itemconnect.cxx b/sfx2/source/dialog/itemconnect.cxx index f07e55131814..e793ef7879ce 100644 --- a/sfx2/source/dialog/itemconnect.cxx +++ b/sfx2/source/dialog/itemconnect.cxx @@ -129,34 +129,6 @@ void CheckBoxWrapper::SetControlValue( bool bValue ) } -ColorListBoxWrapper::ColorListBoxWrapper(ColorListBox & rListBox): - SingleControlWrapper< ColorListBox, Color >(rListBox) -{} - -ColorListBoxWrapper::~ColorListBoxWrapper() -{} - -bool ColorListBoxWrapper::IsControlDontKnow() const -{ - return GetControl().GetSelectEntryCount() == 0; -} - -void ColorListBoxWrapper::SetControlDontKnow( bool bSet ) -{ - if( bSet ) GetControl().SetNoSelection(); -} - -Color ColorListBoxWrapper::GetControlValue() const -{ - return GetControl().GetSelectEntryColor(); -} - -void ColorListBoxWrapper::SetControlValue( Color aColor ) -{ - GetControl().SelectEntry( aColor ); -} - - // Multi control wrappers |