diff options
Diffstat (limited to 'svx/source/tbxctrls/fillctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/fillctrl.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/svx/source/tbxctrls/fillctrl.cxx b/svx/source/tbxctrls/fillctrl.cxx index fcdd67efbe38..af236864034a 100644 --- a/svx/source/tbxctrls/fillctrl.cxx +++ b/svx/source/tbxctrls/fillctrl.cxx @@ -566,6 +566,8 @@ FillControl::FillControl(vcl::Window* pParent, const css::uno::Reference<css::fr , mnTypeCurPos(0) , mnAttrCurPos(0) { + InitControlBase(mxLbFillType.get()); + mxLbFillAttr->connect_key_press(LINK(this, FillControl, AttrKeyInputHdl)); mxLbFillType->connect_key_press(LINK(this, FillControl, TypeKeyInputHdl)); mxToolBoxColor->connect_key_press(LINK(this, FillControl, ColorKeyInputHdl)); @@ -647,13 +649,6 @@ IMPL_LINK(FillControl, ColorKeyInputHdl, const KeyEvent&, rKEvt, bool) return ChildKeyInput(rKEvt); } -void FillControl::GetFocus() -{ - if (mxLbFillType) - mxLbFillType->grab_focus(); - InterimItemWindow::GetFocus(); -} - FillControl::~FillControl() { disposeOnce(); |