From a1c936ce5364ffae88e682780f4579b3b94b673d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 4 Oct 2011 23:24:19 +0100 Subject: doesn't need to be a LINK --- sw/source/ui/table/tabledlg.cxx | 7 +++---- sw/source/ui/table/tablepg.hxx | 2 +- unusedcode.easy | 5 ----- 3 files changed, 4 insertions(+), 10 deletions(-) diff --git a/sw/source/ui/table/tabledlg.cxx b/sw/source/ui/table/tabledlg.cxx index 25708a3843c9..25bc3a864017 100644 --- a/sw/source/ui/table/tabledlg.cxx +++ b/sw/source/ui/table/tabledlg.cxx @@ -247,7 +247,7 @@ IMPL_LINK( SwFormatTablePage, AutoClickHdl, CheckBox *, pBox ) } else if( ( RadioButton * ) pBox == &aFreeBtn ) { - RightModifyHdl(&aRightMF); + RightModify(); bLeftEnable = sal_True; bWidthEnable = sal_True; bOthers = sal_False; @@ -276,7 +276,7 @@ IMPL_LINK( SwFormatTablePage, AutoClickHdl, CheckBox *, pBox ) } /*----------------------------------------------------------------------*/ -IMPL_LINK( SwFormatTablePage, RightModifyHdl, MetricField *, EMPTYARG ) +void SwFormatTablePage::RightModify() { if(aFreeBtn.IsChecked()) { @@ -291,14 +291,13 @@ IMPL_LINK( SwFormatTablePage, RightModifyHdl, MetricField *, EMPTYARG ) aRightMF.Enable(!bEnable); aRightFT.Enable(!bEnable); } - return 0; } IMPL_LINK_INLINE_START( SwFormatTablePage, UpDownLoseFocusHdl, MetricField *, pEdit ) { if( &aRightMF == pEdit) - RightModifyHdl(pEdit); + RightModify(); ModifyHdl( pEdit ); return 0; } diff --git a/sw/source/ui/table/tablepg.hxx b/sw/source/ui/table/tablepg.hxx index 5103c031a2e6..6d29d6b38b84 100644 --- a/sw/source/ui/table/tablepg.hxx +++ b/sw/source/ui/table/tablepg.hxx @@ -89,7 +89,7 @@ class SwFormatTablePage : public SfxTabPage DECL_LINK( AutoClickHdl, CheckBox * ); DECL_LINK( RelWidthClickHdl, CheckBox * ); - DECL_LINK( RightModifyHdl, MetricField * ); + void RightModify(); DECL_LINK( UpDownLoseFocusHdl, MetricField * ); using TabPage::ActivatePage; diff --git a/unusedcode.easy b/unusedcode.easy index f37b44059b48..7680434bb3d7 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -208,7 +208,6 @@ HeaderBar::SetHelpId(unsigned short, rtl::OString const&) HeaderBar::SetHelpText(unsigned short, String const&) IconChoiceDialog::RemoveResetButton() IconChoiceDialog::RemoveTabPage(unsigned short) -ImageAryData::ImageAryData() ImageButton::ImageButton(unsigned short) ImageList::Clear() ImageList::GetImageIds(std::vector >&) const @@ -217,7 +216,6 @@ ImageList::ReplaceImage(rtl::OUString const&, rtl::OUString const&) ImageList::ReplaceImage(unsigned short, Image const&) ImageMap::GetBoundRect() const ImpBitmap::ImplDestroy() -ImpDefaultMapper::ImpDefaultMapper(com::sun::star::uno::Reference&) ImpSvMEdit::SetInsertMode(unsigned char) ImpSvtData::~ImpSvtData() ImplBorderWindow::ImplBorderWindow(Window*, long, unsigned short, com::sun::star::uno::Any const&) @@ -251,7 +249,6 @@ LineInfo::isDashDotOrFatLineUsed() const LineListBox::GetEntryDistance(unsigned short) const LineListBox::GetEntryLine1(unsigned short) const LineListBox::GetEntryLine2(unsigned short) const -LinguMgr::UpdateAll() LinkStructArr::DeleteAndDestroy(unsigned short, unsigned short) LngSvcMgr::RemoveLngSvcEvtBroadcaster(com::sun::star::uno::Reference const&) LocaleDataWrapper::getCollatorImplementations() const @@ -1160,10 +1157,8 @@ SwDestroyList::Insert(SwSectionFrm* const&, unsigned short&) SwDestroyList::Insert(SwSectionFrm* const*, unsigned short) SwDestroyList::Remove(SwSectionFrm* const&, unsigned short) SwDoc::LinkStubDoUpdateAllCharts(void*, void*) -SwEditShell::SetFixFields(unsigned char, DateTime const*) SwFilterDetect::impl_createFactory(com::sun::star::uno::Reference const&) SwFldDataOnlyDlgWrapper::GetChildWindowId() -SwFormatTablePage::LinkStubRightModifyHdl(void*, void*) SwFrameControlsManager::GetControls(FrameControlType) SwGlblDocContents::Insert(SwGlblDocContent* const&, unsigned short&) SwGlblDocContents::Insert(SwGlblDocContent* const*, unsigned short) -- cgit