summaryrefslogtreecommitdiff
path: root/cui/source/inc/scriptdlg.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/inc/scriptdlg.hxx')
-rw-r--r--cui/source/inc/scriptdlg.hxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/cui/source/inc/scriptdlg.hxx b/cui/source/inc/scriptdlg.hxx
index 0874154b700b..bbf35c0eadb6 100644
--- a/cui/source/inc/scriptdlg.hxx
+++ b/cui/source/inc/scriptdlg.hxx
@@ -101,23 +101,22 @@ public:
class CuiInputDialog : public ModalDialog
{
private:
- FixedText aText;
- Edit aEdit;
- OKButton aOKButton;
- CancelButton aCancelButton;
-
+ Edit* m_pEdit;
public:
- CuiInputDialog( Window * pParent, sal_uInt16 nMode );
- ~CuiInputDialog();
-
- OUString GetObjectName() const { return aEdit.GetText(); }
- void SetObjectName( const OUString& rName ) { aEdit.SetText( rName ); aEdit.SetSelection( Selection( 0, rName.getLength() ) );}
+ CuiInputDialog(Window * pParent, sal_uInt16 nMode);
+
+ OUString GetObjectName() const { return m_pEdit->GetText(); }
+ void SetObjectName(const OUString& rName)
+ {
+ m_pEdit->SetText( rName );
+ m_pEdit->SetSelection( Selection( 0, rName.getLength() ) );
+ }
};
class SFEntry
{
private:
- sal_uInt8 nType;
+ sal_uInt8 nType;
bool loaded;
::com::sun::star::uno::Reference< ::com::sun::star::script::browse::XBrowseNode > nodes;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > model;