summaryrefslogtreecommitdiff
path: root/sw/source/ui/dialog/wordcountdialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dialog/wordcountdialog.cxx')
-rw-r--r--sw/source/ui/dialog/wordcountdialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/ui/dialog/wordcountdialog.cxx b/sw/source/ui/dialog/wordcountdialog.cxx
index 7184c39437ab..bebfe4f3870a 100644
--- a/sw/source/ui/dialog/wordcountdialog.cxx
+++ b/sw/source/ui/dialog/wordcountdialog.cxx
@@ -34,14 +34,13 @@
#include <vcl/msgbox.hxx>
#include <vcl/settings.hxx>
-IMPL_STATIC_LINK_NOARG(SwWordCountFloatDlg, CloseHdl)
+IMPL_STATIC_LINK_NOARG_TYPED(SwWordCountFloatDlg, CloseHdl, Button*, void)
{
SfxViewFrame* pVFrame = ::GetActiveView()->GetViewFrame();
if (pVFrame != NULL)
{
pVFrame->ToggleChildWindow(FN_WORDCOUNT_DIALOG);
}
- return 0;
}
SwWordCountFloatDlg::~SwWordCountFloatDlg()