From 2bbdf5c72254a70c43894eb907f23f78557f709a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 17 Apr 2013 16:57:31 +0100 Subject: convert autocorrect dialog to .ui format Just the outmost dialog itself, not the individual pages. We have to go top down in this case to incrementally convert the pages because of the non-standard additional widgets outside the tabcontrol area. So this dialog is set to non-resizable until its contents are converted over. Change-Id: I92014a44b4cab8d345666295b052635d4b57a496 --- cui/source/inc/autocdlg.hxx | 14 +++++++------- cui/source/inc/helpid.hrc | 1 - 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'cui/source/inc') diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 1190ffe6aa1e..91062f1f8f70 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -38,18 +38,18 @@ namespace editeng { class SortedAutoCompleteStrings; } class OfaAutoCorrDlg : public SfxTabDialog { - FixedText aLanguageFT; - SvxLanguageBox aLanguageLB; + VclContainer* m_pLanguageBox; + SvxLanguageBox* m_pLanguageLB; + + sal_uInt16 m_nReplacePageId; + sal_uInt16 m_nExceptionsPageId; DECL_LINK(SelectLanguageHdl, ListBox*); public: - OfaAutoCorrDlg(Window* pParent, const SfxItemSet *pSet ); - - void EnableLanguage(sal_Bool bEnable) - { aLanguageFT.Enable(bEnable); - aLanguageLB.Enable(bEnable);} + OfaAutoCorrDlg(Window* pParent, const SfxItemSet *pSet); + void EnableLanguage(bool bEnable); }; #ifdef _OFA_AUTOCDLG_CXX diff --git a/cui/source/inc/helpid.hrc b/cui/source/inc/helpid.hrc index 0f4a5a1eec7a..5c6819282729 100644 --- a/cui/source/inc/helpid.hrc +++ b/cui/source/inc/helpid.hrc @@ -229,7 +229,6 @@ #define HID_SEARCHSIMILARITY "CUI_HID_SEARCHSIMILARITY" #define UID_SEARCH_RECORDSTATUS "CUI_UID_SEARCH_RECORDSTATUS" #define HID_OFAPAGE_AUTOCORR_CLB "CUI_HID_OFAPAGE_AUTOCORR_CLB" -#define HID_AUTOCORR_LANGUAGE "CUI_HID_AUTOCORR_LANGUAGE" #define HID_OFAPAGE_AUTOFORMAT_CLB "CUI_HID_OFAPAGE_AUTOFORMAT_CLB" #define HID_TPCOLOR_RGB_1 "CUI_HID_TPCOLOR_RGB_1" #define HID_TPCOLOR_RGB_2 "CUI_HID_TPCOLOR_RGB_2" -- cgit v1.2.3