diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 00:33:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-06 11:26:34 +0000 |
commit | c936fcf81fc3a9d514bf8e54969f6ee0a62335c9 (patch) | |
tree | 013f0c0605a9c51a986e2553758ff720cb63e8d1 /sw | |
parent | XMLFilterTabPageXSLT::LinkStubToggleXSLTImplHdl does nothing (diff) | |
download | core-c936fcf81fc3a9d514bf8e54969f6ee0a62335c9.tar.gz core-c936fcf81fc3a9d514bf8e54969f6ee0a62335c9.zip |
SwTOXStylesTabPage::LinkStubModifyHdl doesn't need to be a link
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/inc/swuicnttab.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 7 |
2 files changed, 4 insertions, 5 deletions
diff --git a/sw/source/ui/inc/swuicnttab.hxx b/sw/source/ui/inc/swuicnttab.hxx index 3f752c6ba7a8..f2f4d2226e71 100644 --- a/sw/source/ui/inc/swuicnttab.hxx +++ b/sw/source/ui/inc/swuicnttab.hxx @@ -489,7 +489,7 @@ class SwTOXStylesTabPage : public SfxTabPage DECL_LINK(EnableSelectHdl, void *); DECL_LINK(DoubleClickHdl, void *); DECL_LINK(AssignHdl, void *); - DECL_LINK( ModifyHdl, void*); + void Modify(); SwForm& GetForm() { diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index b6133b53ec29..0d41a0b388ad 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -3851,7 +3851,7 @@ IMPL_LINK_NOARG(SwTOXStylesTabPage, AssignHdl) aLevelLB.RemoveEntry(nLevPos); aLevelLB.InsertEntry(aStr, nLevPos); aLevelLB.SelectEntry(aStr); - ModifyHdl(0); + Modify(); } return 0; } @@ -3868,7 +3868,7 @@ IMPL_LINK_NOARG(SwTOXStylesTabPage, StdHdl) aLevelLB.InsertEntry(aStr, nPos); aLevelLB.SelectEntry(aStr); m_pCurrentForm->SetTemplate(nPos, aEmptyStr); - ModifyHdl(0); + Modify(); } return 0; } @@ -3901,7 +3901,7 @@ IMPL_LINK_NOARG(SwTOXStylesTabPage, EnableSelectHdl) return 0; } -IMPL_LINK_NOARG(SwTOXStylesTabPage, ModifyHdl) +void SwTOXStylesTabPage::Modify() { SwMultiTOXTabDialog* pTOXDlg = (SwMultiTOXTabDialog*)GetTabDialog(); if(pTOXDlg) @@ -3909,7 +3909,6 @@ IMPL_LINK_NOARG(SwTOXStylesTabPage, ModifyHdl) GetForm() = *m_pCurrentForm; pTOXDlg->CreateOrUpdateExample(pTOXDlg->GetCurrentTOXType().eType, TOX_PAGE_STYLES); } - return 0; } #define ITEM_SEARCH 1 |