summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/new.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/new.cxx')
-rw-r--r--sfx2/source/doc/new.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sfx2/source/doc/new.cxx b/sfx2/source/doc/new.cxx
index ac71fd744cbf..aa2a062589a9 100644
--- a/sfx2/source/doc/new.cxx
+++ b/sfx2/source/doc/new.cxx
@@ -151,7 +151,7 @@ class SfxNewFileDialog_Impl
DECL_LINK(TemplateSelect, void*);
DECL_LINK(DoubleClick, ListBox*);
DECL_LINK(Expand, void*);
- DECL_LINK(LoadFile, void*);
+ DECL_LINK_TYPED(LoadFile, Button*, void);
sal_uInt16 GetSelectedTemplatePos() const;
public:
@@ -292,10 +292,9 @@ IMPL_LINK( SfxNewFileDialog_Impl, DoubleClick, ListBox *, pListBox )
return 0;
}
-IMPL_LINK_NOARG(SfxNewFileDialog_Impl, LoadFile)
+IMPL_LINK_NOARG_TYPED(SfxNewFileDialog_Impl, LoadFile, Button*, void)
{
pAntiImpl->EndDialog(RET_TEMPLATE_LOAD);
- return 0;
}
sal_uInt16 SfxNewFileDialog_Impl::GetSelectedTemplatePos() const