diff options
Diffstat (limited to 'sd/source/ui/dlg/diactrl.cxx')
-rw-r--r-- | sd/source/ui/dlg/diactrl.cxx | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/ui/dlg/diactrl.cxx b/sd/source/ui/dlg/diactrl.cxx index cbc7590cc9c8..aa4cff712d63 100644 --- a/sd/source/ui/dlg/diactrl.cxx +++ b/sd/source/ui/dlg/diactrl.cxx @@ -53,6 +53,8 @@ SdPagesField::SdPagesField( vcl::Window* pParent, , m_xWidget(m_xBuilder->weld_spin_button("pagesfield")) , m_xFrame(rFrame) { + InitControlBase(m_xWidget.get()); + // set parameter of MetricFields m_xWidget->set_digits(0); m_xWidget->set_range(1, 15); @@ -81,13 +83,6 @@ void SdPagesField::dispose() InterimItemWindow::dispose(); } -void SdPagesField::GetFocus() -{ - if (m_xWidget) - m_xWidget->grab_focus(); - InterimItemWindow::GetFocus(); -} - SdPagesField::~SdPagesField() { disposeOnce(); |