summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldlg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-08 09:49:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-09 13:47:52 +0100
commit48bca65f1cf381cba7cb7a4c3916155a1bca0955 (patch)
treedf461652450b3e095e37a3290cbe54ab20cedfae /basctl/source/basicide/moduldlg.hxx
parentc468b6910bf77e332647725da70e3cb248a9de0e (diff)
inherit welded dialogs from a common ancestor
Change-Id: Ifa6c871a134cf89bfba71b1049a115cf7c953c42 Reviewed-on: https://gerrit.libreoffice.org/50936 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/source/basicide/moduldlg.hxx')
-rw-r--r--basctl/source/basicide/moduldlg.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/basctl/source/basicide/moduldlg.hxx b/basctl/source/basicide/moduldlg.hxx
index b1fe48ad0ac4..ac9a4b37b7c7 100644
--- a/basctl/source/basicide/moduldlg.hxx
+++ b/basctl/source/basicide/moduldlg.hxx
@@ -42,11 +42,9 @@ enum class ObjectMode
Dialog = 3,
};
-class NewObjectDialog
+class NewObjectDialog : public weld::GenericDialogController
{
private:
- std::unique_ptr<weld::Builder> m_xBuilder;
- std::unique_ptr<weld::Dialog> m_xDialog;
std::unique_ptr<weld::Entry> m_xEdit;
std::unique_ptr<weld::Button> m_xOKButton;
bool m_bCheckName;
@@ -54,7 +52,6 @@ private:
DECL_LINK(OkButtonHandler, weld::Button&, void);
public:
NewObjectDialog(weld::Window* pParent, ObjectMode, bool bCheckName = false);
- short run() { return m_xDialog->run(); }
OUString GetObjectName() const { return m_xEdit->get_text(); }
void SetObjectName(const OUString& rName)
{