summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/envelp')
-rw-r--r--sw/source/ui/envelp/labfmt.cxx4
-rw-r--r--sw/source/ui/envelp/labfmt.hxx2
2 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/envelp/labfmt.cxx b/sw/source/ui/envelp/labfmt.cxx
index cba7b7082166..be2171bdde8e 100644
--- a/sw/source/ui/envelp/labfmt.cxx
+++ b/sw/source/ui/envelp/labfmt.cxx
@@ -385,14 +385,12 @@ IMPL_LINK_NOARG(SwLabFmtPage, ModifyHdl)
}
// Invalidate preview
-IMPL_LINK_NOARG(SwLabFmtPage, PreviewHdl)
+IMPL_LINK_NOARG_TYPED(SwLabFmtPage, PreviewHdl, Idle *, void)
{
aPreviewIdle.Stop();
ChangeMinMax();
FillItem( aItem );
m_pPreview->UpdateItem( aItem );
-
- return 0;
}
// LoseFocus-Handler: Update on change
diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx
index c81acc1b2180..9b409be04aab 100644
--- a/sw/source/ui/envelp/labfmt.hxx
+++ b/sw/source/ui/envelp/labfmt.hxx
@@ -90,7 +90,7 @@ class SwLabFmtPage : public SfxTabPage
SwLabItem aItem;
DECL_LINK(ModifyHdl, void *);
- DECL_LINK(PreviewHdl, void *);
+ DECL_LINK_TYPED(PreviewHdl, Idle *, void);
DECL_LINK( LoseFocusHdl, Control * );
DECL_LINK(SaveHdl, void *);