diff options
-rw-r--r-- | sw/source/ui/inc/swuicnttab.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 7 | ||||
-rwxr-xr-x | unusedcode.easy | 1 |
3 files changed, 4 insertions, 6 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 diff --git a/unusedcode.easy b/unusedcode.easy index 0e2e7e9fad2e..631ae5cafb99 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -322,7 +322,6 @@ SwTOXSources::Remove(unsigned short, unsigned short) SwTOXSources::Replace(SwTOXSource const&, unsigned short) SwTOXSources::Replace(SwTOXSource const*, unsigned short, unsigned short) SwTOXSources::_ForEach(unsigned short, unsigned short, unsigned char (*)(SwTOXSource const&, void*), void*) -SwTOXStylesTabPage::LinkStubModifyHdl(void*, void*) SwTabFrm::GetLeaf(MakePageType, unsigned char) SwTableSortBoxes::DeleteAndDestroy(unsigned short, unsigned short) SwTableSortBoxes::Insert(SwTableBox* const&, unsigned short&) |