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 /include/svx/galmisc.hxx | |
parent | 7a39ae04220d70caef0335ed47452b36cd2e98c7 (diff) |
convert Link<> to typed
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
Diffstat (limited to 'include/svx/galmisc.hxx')
-rw-r--r-- | include/svx/galmisc.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/svx/galmisc.hxx b/include/svx/galmisc.hxx index dce7dfa6b80a..56ff7d31afc1 100644 --- a/include/svx/galmisc.hxx +++ b/include/svx/galmisc.hxx @@ -64,8 +64,6 @@ enum SgaObjKind #define IV_IMAPINFO (sal_uInt32('S')*0x00000001+sal_uInt32('D')*0x00000100+sal_uInt32('U')*0x00010000+sal_uInt32('D')*0x01000000) #define ID_IMAPINFO 2 -#define USERDATA_HDL() (LINK(this,SgaUserDataFactory,MakeUserData)) - #define GAL_RES(nId) ResId(nId, *GetGalleryResMgr()) #define GAL_RESSTR(nId) GAL_RES(nId).toString() #define STREAMBUF_SIZE 16384L @@ -129,10 +127,10 @@ public: class SgaUserDataFactory { public: - SgaUserDataFactory() { SdrObjFactory::InsertMakeUserDataHdl( USERDATA_HDL() ); } - ~SgaUserDataFactory() { SdrObjFactory::RemoveMakeUserDataHdl( USERDATA_HDL() ); } + SgaUserDataFactory() { SdrObjFactory::InsertMakeUserDataHdl( LINK(this,SgaUserDataFactory,MakeUserData) ); } + ~SgaUserDataFactory() { SdrObjFactory::RemoveMakeUserDataHdl( LINK(this,SgaUserDataFactory,MakeUserData) ); } - DECL_STATIC_LINK( SgaUserDataFactory, MakeUserData, SdrObjFactory* ); + DECL_STATIC_LINK_TYPED( SgaUserDataFactory, MakeUserData, SdrObjFactory*, void ); }; class GraphicFilter; |