diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-08 09:54:16 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-09-09 10:06:11 +0200 |
commit | 5906a2a6380dc8f748a3c6f4fa0778e237abdff2 (patch) | |
tree | 0c3f41c74e68229b1633973d25e96a8896d6e450 /basctl/source | |
parent | 7a39ae04220d70caef0335ed47452b36cd2e98c7 (diff) |
convert Link<> to typed
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
Diffstat (limited to 'basctl/source')
-rw-r--r-- | basctl/source/dlged/dlgedfac.cxx | 4 | ||||
-rw-r--r-- | basctl/source/inc/dlgedfac.hxx | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/basctl/source/dlged/dlgedfac.cxx b/basctl/source/dlged/dlgedfac.cxx index 0d60dc0be7ed..b53572f83eeb 100644 --- a/basctl/source/dlged/dlgedfac.cxx +++ b/basctl/source/dlged/dlgedfac.cxx @@ -43,7 +43,7 @@ DlgEdFactory::~DlgEdFactory() } -IMPL_LINK( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory ) +IMPL_LINK_TYPED( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory, void ) { static bool bNeedsInit = true; static uno::Reference< lang::XMultiServiceFactory > xDialogSFact; @@ -235,8 +235,6 @@ IMPL_LINK( DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory ) break; } } - - return 0; } } // namespace basctl diff --git a/basctl/source/inc/dlgedfac.hxx b/basctl/source/inc/dlgedfac.hxx index 13656a86e6ee..d9079d9911ca 100644 --- a/basctl/source/inc/dlgedfac.hxx +++ b/basctl/source/inc/dlgedfac.hxx @@ -38,7 +38,7 @@ public: DlgEdFactory( const css::uno::Reference< css::frame::XModel >& xModel ); ~DlgEdFactory(); - DECL_LINK( MakeObject, SdrObjFactory * ); + DECL_LINK_TYPED( MakeObject, SdrObjFactory *, void ); }; } // namespace basctl |