diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 13:19:14 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 14:03:40 +0200 |
commit | 4e41227dd6af52ec562d10efcb365defba6bd36e (patch) | |
tree | 78126f91c09616eeddafcbdda87fed05e606a6a4 /include/tools/link.hxx | |
parent | e9289dbde26cd89b7e5bf54afccd06fc01dabdde (diff) |
mingw64: change Link class to use sal_IntPtr instead of long
Change-Id: I2b78c7b714ff064f2f1b8a8eb161e5e2ae121eee
Diffstat (limited to 'include/tools/link.hxx')
-rw-r--r-- | include/tools/link.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tools/link.hxx b/include/tools/link.hxx index c325b67bae76..a06e8b9cdc08 100644 --- a/include/tools/link.hxx +++ b/include/tools/link.hxx @@ -94,7 +94,7 @@ public: Link(); Link( void* pLinkHdl, PSTUB pMemFunc ); - long Call( void* pCaller ) const; + sal_IntPtr Call( void* pCaller ) const; sal_Bool IsSet() const; sal_Bool operator !() const; @@ -118,7 +118,7 @@ inline Link::Link( void* pLinkHdl, PSTUB pMemFunc ) pFunc = pMemFunc; } -inline long Link::Call(void *pCaller) const +inline sal_IntPtr Link::Call(void *pCaller) const { return pFunc ? (*pFunc)(pInst, pCaller) : 0; } |