summaryrefslogtreecommitdiff
path: root/cui/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-04-17 16:57:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-04-17 17:06:16 +0100
commit2bbdf5c72254a70c43894eb907f23f78557f709a (patch)
treece6801d3e1425fafd03243adea1ac21c4999e64e /cui/source/inc
parent6c648e3dca9b3f8beceb877a461d2118d473c20d (diff)
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
Diffstat (limited to 'cui/source/inc')
-rw-r--r--cui/source/inc/autocdlg.hxx14
-rw-r--r--cui/source/inc/helpid.hrc1
2 files changed, 7 insertions, 8 deletions
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"