diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 20:57:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-10-06 20:57:21 +0100 |
commit | 3d75fde3fce0924f41d562bc07268d8b66079abd (patch) | |
tree | 31ced0f5d06d9694774d8256676ac4250a4e6912 /svx | |
parent | 86e807dcd0e7996599a147fae683012a593e1359 (diff) |
no ValueSetWithTextControls are loaded from src files
Change-Id: If19daf643a9dfcebe57d5d4860f1f4282b39e5fa
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/tools/ValueSetWithTextControl.cxx | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx index 72a9d65ef8e7..a9b1fc674d3d 100644 --- a/svx/source/sidebar/tools/ValueSetWithTextControl.cxx +++ b/svx/source/sidebar/tools/ValueSetWithTextControl.cxx @@ -30,26 +30,13 @@ namespace svx { namespace sidebar { -ValueSetWithTextControl::ValueSetWithTextControl( - const ControlType eControlType, - vcl::Window* pParent, - const ResId& rResId) - : ValueSet( pParent, rResId ) - , meControlType( eControlType ) - , maItems() +ValueSetWithTextControl::ValueSetWithTextControl(Window* pParent, WinBits nBits) + : ValueSet( pParent, nBits ) + , meControlType( svx::sidebar::ValueSetWithTextControl::ControlType::TextText ) { SetColCount(); } -ValueSetWithTextControl::ValueSetWithTextControl( - Window* pParent, - WinBits nBits) - : ValueSet( pParent, nBits ) - , meControlType( svx::sidebar::ValueSetWithTextControl::ControlType::TextText ) - { - SetColCount(); - } - void ValueSetWithTextControl::AddItem( const Image& rItemImage, const OUString& rItemText, @@ -80,7 +67,6 @@ void ValueSetWithTextControl::AddItem( (pItemHelpText != nullptr) ? *pItemHelpText : rItemText ); } - void ValueSetWithTextControl::AddItem( const OUString& rItemText, const OUString& rItemText2 ) @@ -100,7 +86,6 @@ void ValueSetWithTextControl::AddItem( SetItemText( maItems.size(), rItemText ); } - void ValueSetWithTextControl::UserDraw( const UserDrawEvent& rUDEvt ) { const Rectangle aRect = rUDEvt.GetRect(); |