summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-02 08:18:45 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-03-02 08:22:12 +0000
commit92599076da1eb2fedd4c9d0fba5cb05ba81452a0 (patch)
tree904b69a80f6693f1a041fa5c0294c18698cf1ad6 /sd
parentad9960ffeb25f31ce4b1f819f909f1eb9ad6d7dd (diff)
CopyDlg::Reset doesn't need to be a LINK
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/copydlg.cxx5
-rw-r--r--sd/source/ui/inc/copydlg.hxx2
2 files changed, 3 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx
index fb3398a30f5d..1fb9a7e7ee3d 100644
--- a/sd/source/ui/dlg/copydlg.cxx
+++ b/sd/source/ui/dlg/copydlg.cxx
@@ -120,7 +120,7 @@ CopyDlg::CopyDlg(
SetFieldUnit( maMtrFldWidth, eFUnit, sal_True );
SetFieldUnit( maMtrFldHeight, eFUnit, sal_True );
- Reset(0L);
+ Reset();
}
/*************************************************************************
@@ -163,7 +163,7 @@ CopyDlg::~CopyDlg()
|*
\************************************************************************/
-IMPL_LINK_NOARG(CopyDlg, Reset)
+void CopyDlg::Reset()
{
const SfxPoolItem* pPoolItem = NULL;
String aStr( GetExtraData() );
@@ -242,7 +242,6 @@ IMPL_LINK_NOARG(CopyDlg, Reset)
maLbEndColor.SelectEntry( Color( nTmp ) );
}
- return 0;
}
/*************************************************************************
diff --git a/sd/source/ui/inc/copydlg.hxx b/sd/source/ui/inc/copydlg.hxx
index 1fa4e08342e9..c327e1e00224 100644
--- a/sd/source/ui/inc/copydlg.hxx
+++ b/sd/source/ui/inc/copydlg.hxx
@@ -56,7 +56,7 @@ public:
~CopyDlg();
void GetAttr( SfxItemSet& rOutAttrs );
- DECL_LINK( Reset, void* );
+ void Reset();
private:
FixedText maFtCopies;