summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-04 23:24:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-05 08:58:12 +0100
commita1c936ce5364ffae88e682780f4579b3b94b673d (patch)
tree8dc029bd8d705250742a3ebc4e60102f9fe811a5
parentcallcatcher: unused methods (diff)
downloadcore-a1c936ce5364ffae88e682780f4579b3b94b673d.tar.gz
core-a1c936ce5364ffae88e682780f4579b3b94b673d.zip
doesn't need to be a LINK
-rw-r--r--sw/source/ui/table/tabledlg.cxx7
-rw-r--r--sw/source/ui/table/tablepg.hxx2
-rw-r--r--unusedcode.easy5
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<unsigned short, std::allocator<unsigned short> >&) 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<com::sun::star::beans::XPropertyState>&)
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<com::sun::star::linguistic2::XLinguServiceEventBroadcaster> 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<com::sun::star::lang::XMultiServiceFactory> const&)
SwFldDataOnlyDlgWrapper::GetChildWindowId()
-SwFormatTablePage::LinkStubRightModifyHdl(void*, void*)
SwFrameControlsManager::GetControls(FrameControlType)
SwGlblDocContents::Insert(SwGlblDocContent* const&, unsigned short&)
SwGlblDocContents::Insert(SwGlblDocContent* const*, unsigned short)