summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/tools/ValueSetWithTextControl.cxx21
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();