diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 14:53:51 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 14:54:08 +0100 |
commit | 3a393557152ec61ebfe75580db0a2e321febfda3 (patch) | |
tree | 5f676b9eb5a922266e108eba0e2267aa699f3407 /include/sfx2/tabdlg.hxx | |
parent | convert pdf signing page to .ui format (diff) | |
download | core-3a393557152ec61ebfe75580db0a2e321febfda3.tar.gz core-3a393557152ec61ebfe75580db0a2e321febfda3.zip |
allow SfxTabDialog ok button to have custom text
Change-Id: Ia38a982b37568c9225c03197a085db3164602f85
Diffstat (limited to 'include/sfx2/tabdlg.hxx')
-rw-r--r-- | include/sfx2/tabdlg.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx index b1d3ed0c0f4c..ee8c1f67a514 100644 --- a/include/sfx2/tabdlg.hxx +++ b/include/sfx2/tabdlg.hxx @@ -68,7 +68,7 @@ friend class SfxTabDialogController; VclBox *m_pBox; TabControl *m_pTabCtrl; - OKButton *m_pOKBtn; + PushButton* m_pOKBtn; PushButton* m_pApplyBtn; PushButton* m_pUserBtn; CancelButton* m_pCancelBtn; @@ -205,8 +205,8 @@ public: const SfxItemSet* GetOutputItemSet() const { return pOutSet; } sal_Bool IsFormat() const { return bFmt; } - const OKButton& GetOKButton() const { return *m_pOKBtn; } - OKButton& GetOKButton() { return *m_pOKBtn; } + const PushButton& GetOKButton() const { return *m_pOKBtn; } + PushButton& GetOKButton() { return *m_pOKBtn; } const CancelButton& GetCancelButton() const { return *m_pCancelBtn; } CancelButton& GetCancelButton() { return *m_pCancelBtn; } const HelpButton& GetHelpButton() const { return *m_pHelpBtn; } |