summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/moduldlg.hxx
diff options
context:
space:
mode:
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)
{