summaryrefslogtreecommitdiff
path: root/sw
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 /sw
parentf42b66cc5104447a5505cc2c11e89fb42250d24b (diff)
doesn't need to be a LINK
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/table/tabledlg.cxx7
-rw-r--r--sw/source/ui/table/tablepg.hxx2
2 files changed, 4 insertions, 5 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;