diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 14:23:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-14 15:24:34 +0100 |
commit | d46fecbebdbfdadaef8ae12f741e5780c78907e9 (patch) | |
tree | bba1a2b6e5f6935f4eb566056cde324f0701259a /cui/source/inc/autocdlg.hxx | |
parent | a684338f7c8eeca45469c90b38e042d78f0496b7 (diff) |
Resolves: fdo#36534 rework SvxSimpleTable to not manage its own parent
Diffstat (limited to 'cui/source/inc/autocdlg.hxx')
-rw-r--r-- | cui/source/inc/autocdlg.hxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/cui/source/inc/autocdlg.hxx b/cui/source/inc/autocdlg.hxx index 841eaa4fb..61c2802eb 100644 --- a/cui/source/inc/autocdlg.hxx +++ b/cui/source/inc/autocdlg.hxx @@ -83,8 +83,10 @@ class OfaACorrCheckListBox : public SvxSimpleTable virtual void KeyInput( const KeyEvent& rKEvt ); public: - OfaACorrCheckListBox(Window* pParent, const ResId& rResId ) : - SvxSimpleTable( pParent, rResId ){} + OfaACorrCheckListBox(SvxSimpleTableContainer& rParent, WinBits nBits = WB_BORDER) + : SvxSimpleTable(rParent, nBits) + { + } inline void *GetUserData(sal_uLong nPos) { return GetEntry(nPos)->GetUserData(); } inline void SetUserData(sal_uLong nPos, void *pData ) { GetEntry(nPos)->SetUserData(pData); } @@ -136,6 +138,7 @@ class OfaSwAutoFmtOptionsPage : public SfxTabPage { using TabPage::ActivatePage; + SvxSimpleTableContainer m_aCheckLBContainer; OfaACorrCheckListBox aCheckLB; PushButton aEditPB; FixedText aHeader1Expl; @@ -334,6 +337,7 @@ private: SvxCheckListBox aCheckLB; // Just for writer + SvxSimpleTableContainer m_aSwCheckLBContainer; OfaACorrCheckListBox aSwCheckLB; String sHeader1; String sHeader2; |