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 /sfx2/source | |
parent | 0c68a3867f16cfb24c7480291292d8dd0ffcc20e (diff) |
allow SfxTabDialog ok button to have custom text
Change-Id: Ia38a982b37568c9225c03197a085db3164602f85
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 75fcdef6bdb3..4180e851897b 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -594,7 +594,7 @@ void SfxTabDialog::Init_Impl( sal_Bool bFmtFlag, const String* pUserButtonText, set_action_area(m_pActionArea); } - m_pOKBtn = m_pUIBuilder ? m_pUIBuilder->get<OKButton>("ok") : NULL; + m_pOKBtn = m_pUIBuilder ? m_pUIBuilder->get<PushButton>("ok") : NULL; m_bOwnsOKBtn = m_pOKBtn == NULL; if (m_bOwnsOKBtn) m_pOKBtn = new OKButton(m_pActionArea); |