diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-05-22 11:27:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-05-22 11:45:29 +0100 |
commit | 7c04626ec7b54d8db2ff9bac19df75dd668ad8f7 (patch) | |
tree | 1b63881e46ab5124602544cb6ea04c7ab2cb95bf /starmath/inc | |
parent | 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 (diff) |
adapt code to alignment dialog .ui conversion
Change-Id: I8a64ddc076e177deaa61a450716d7d3dd8043303
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/dialog.hxx | 15 | ||||
-rw-r--r-- | starmath/inc/helpids.h | 1 | ||||
-rw-r--r-- | starmath/inc/starmath.hrc | 1 |
3 files changed, 5 insertions, 12 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx index ac0508f4ae29..34511b998923 100644 --- a/starmath/inc/dialog.hxx +++ b/starmath/inc/dialog.hxx @@ -271,20 +271,15 @@ public: class SmAlignDialog : public ModalDialog { - RadioButton aLeft; - RadioButton aCenter; - RadioButton aRight; - FixedLine aFixedLine1; - OKButton aOKButton1; - HelpButton aHelpButton1; - CancelButton aCancelButton1; - PushButton aDefaultButton; + RadioButton* m_pLeft; + RadioButton* m_pCenter; + RadioButton* m_pRight; + PushButton* m_pDefaultButton; DECL_LINK(DefaultButtonClickHdl, Button *); - DECL_LINK(HelpButtonClickHdl, Button *); public: - SmAlignDialog(Window *pParent, bool bFreeRes = true); + SmAlignDialog(Window *pParent); void ReadFrom(const SmFormat &rFormat); void WriteTo (SmFormat &rFormat) const; diff --git a/starmath/inc/helpids.h b/starmath/inc/helpids.h index 6d7f7bb89bff..34fd0db85950 100644 --- a/starmath/inc/helpids.h +++ b/starmath/inc/helpids.h @@ -23,7 +23,6 @@ #define HID_SMA_FONTSIZEDIALOG "STARMATH_HID_SMA_FONTSIZEDIALOG" #define HID_SMA_FONTTYPEDIALOG "STARMATH_HID_SMA_FONTTYPEDIALOG" #define HID_SMA_DISTANCEDIALOG "STARMATH_HID_SMA_DISTANCEDIALOG" -#define HID_SMA_ALIGNDIALOG "STARMATH_HID_SMA_ALIGNDIALOG" #define HID_SMA_SYMBOLDIALOG "STARMATH_HID_SMA_SYMBOLDIALOG" #define HID_SMA_SYMDEFINEDIALOG "STARMATH_HID_SMA_SYMDEFINEDIALOG" #define HID_SMA_WIN_DOCUMENT "STARMATH_HID_SMA_WIN_DOCUMENT" diff --git a/starmath/inc/starmath.hrc b/starmath/inc/starmath.hrc index a9bfbfa83119..c9dc005e4ab9 100644 --- a/starmath/inc/starmath.hrc +++ b/starmath/inc/starmath.hrc @@ -85,7 +85,6 @@ #define RID_FONTSIZEDIALOG (RID_APP_START + 3) #define RID_FONTTYPEDIALOG (RID_APP_START + 4) #define RID_DISTANCEDIALOG (RID_APP_START + 5) -#define RID_ALIGNDIALOG (RID_APP_START + 6) #define RID_PRINTOPTIONPAGE (RID_APP_START + 7) #define RID_SYMBOLDIALOG (RID_APP_START + 8) #define RID_SYMDEFINEDIALOG (RID_APP_START + 9) |