diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-12-27 14:00:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-12-27 14:03:19 +0000 |
commit | c6d1938f7559aa6293338b4d756ec7fc0bd79f63 (patch) | |
tree | 3b158c8c5e1f4040b6ca7e893a816fa5387960f5 /cui/source/options/cuisrchdlg.cxx | |
parent | aabee4ca0bc5dd9107a8f1a53349bd652c790627 (diff) |
it's a SfxSingleTabDialog not SfxNoLayoutSingleTabDialog
Change-Id: I0c86753fab551a18a9f0c62adc03a3d967947dbf
Diffstat (limited to 'cui/source/options/cuisrchdlg.cxx')
-rw-r--r-- | cui/source/options/cuisrchdlg.cxx | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/cui/source/options/cuisrchdlg.cxx b/cui/source/options/cuisrchdlg.cxx index 5511875f5258..08ff0bf97e66 100644 --- a/cui/source/options/cuisrchdlg.cxx +++ b/cui/source/options/cuisrchdlg.cxx @@ -52,26 +52,19 @@ SvxJSearchOptionsDialog::SvxJSearchOptionsDialog(Window *pParent, : SfxSingleTabDialog(pParent, rOptionsSet) , nInitialTlFlags( nInitialFlags ) { + // pPage will be implicitly destroyed by the + // SfxSingleTabDialog destructor pPage = (SvxJSearchOptionsPage *) SvxJSearchOptionsPage::Create(get_content_area(), rOptionsSet ); setTabPage( pPage ); //! implicitly calls pPage->Reset(...)! pPage->EnableSaveOptions(false); } - -SvxJSearchOptionsDialog::~SvxJSearchOptionsDialog() -{ - // pPage will be implicitly destroyed by the - // SfxNoLayoutSingleTabDialog destructor -} - - void SvxJSearchOptionsDialog::Activate() { pPage->SetTransliterationFlags( nInitialTlFlags ); } - sal_Int32 SvxJSearchOptionsDialog::GetTransliterationFlags() const { return pPage->GetTransliterationFlags(); |