summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-08 09:54:16 +0200
committerNoel Grandin <noel@peralex.com>2015-09-09 10:06:11 +0200
commit5906a2a6380dc8f748a3c6f4fa0778e237abdff2 (patch)
tree0c3f41c74e68229b1633973d25e96a8896d6e450 /reportdesign
parent7a39ae04220d70caef0335ed47452b36cd2e98c7 (diff)
convert Link<> to typed
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/inc/dlgedfac.hxx2
-rw-r--r--reportdesign/source/ui/report/dlgedfac.cxx6
2 files changed, 3 insertions, 5 deletions
diff --git a/reportdesign/source/ui/inc/dlgedfac.hxx b/reportdesign/source/ui/inc/dlgedfac.hxx
index d9e6067fc38a..bdee50e2b2be 100644
--- a/reportdesign/source/ui/inc/dlgedfac.hxx
+++ b/reportdesign/source/ui/inc/dlgedfac.hxx
@@ -35,7 +35,7 @@ public:
DlgEdFactory();
~DlgEdFactory();
- DECL_STATIC_LINK( DlgEdFactory, MakeObject, SdrObjFactory * );
+ DECL_STATIC_LINK_TYPED( DlgEdFactory, MakeObject, SdrObjFactory *, void );
};
}
#endif // INCLUDED_REPORTDESIGN_SOURCE_UI_INC_DLGEDFAC_HXX
diff --git a/reportdesign/source/ui/report/dlgedfac.cxx b/reportdesign/source/ui/report/dlgedfac.cxx
index b9b4a02f0d5f..57d470256c8f 100644
--- a/reportdesign/source/ui/report/dlgedfac.cxx
+++ b/reportdesign/source/ui/report/dlgedfac.cxx
@@ -46,8 +46,8 @@ DlgEdFactory::~DlgEdFactory()
-IMPL_STATIC_LINK(
- DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory )
+IMPL_STATIC_LINK_TYPED(
+ DlgEdFactory, MakeObject, SdrObjFactory *, pObjFactory, void )
{
if ( pObjFactory->nInventor == ReportInventor )
{
@@ -96,8 +96,6 @@ IMPL_STATIC_LINK(
break;
}
}
-
- return 0;
}
}