diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-22 11:02:36 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-23 09:54:16 +0200 |
commit | ba263e124ce263c3c893542062d9c473f5aae589 (patch) | |
tree | 74b99db819c66eb333ab2188df0a65a0b7b8fc2e /include/svx/fmobjfac.hxx | |
parent | 962719df881a8aefdec7f564293d1e0cd42a5540 (diff) |
clean up the SdrObjFactory create callbacks
passing params by setting fields on yourself is just gross
Change-Id: Iee98a9e8e266b56fc886c76eab470ab1ff7ff8e4
Diffstat (limited to 'include/svx/fmobjfac.hxx')
-rw-r--r-- | include/svx/fmobjfac.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/svx/fmobjfac.hxx b/include/svx/fmobjfac.hxx index c5eac5e51182..fa8515102ab1 100644 --- a/include/svx/fmobjfac.hxx +++ b/include/svx/fmobjfac.hxx @@ -24,6 +24,8 @@ #include <svx/svxdllapi.h> class SdrObjFactory; +class SdrObject; +struct SdrObjCreatorParams; class SVX_DLLPUBLIC FmFormObjFactory { @@ -31,7 +33,7 @@ public: FmFormObjFactory(); ~FmFormObjFactory(); - DECL_STATIC_LINK_TYPED(FmFormObjFactory, MakeObject, SdrObjFactory*, void); + DECL_STATIC_LINK_TYPED(FmFormObjFactory, MakeObject, SdrObjCreatorParams, SdrObject* ); }; #endif // _FM_FMOBJFAC_HXX |