[Libreoffice-commits] core.git: include/tools

Stephan Bergmann sbergman at redhat.com
Thu Apr 30 01:41:04 PDT 2015


 include/tools/link.hxx |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit a29efdc0489df61a4ad6b717d93775a7c244596f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Apr 30 10:40:37 2015 +0200

    All-inline template should not be TOOLS_DLLPUBLIC, keep MSVC happy
    
    Change-Id: Ib03c6ba0eac9400eba89674ca92f638baf65b203

diff --git a/include/tools/link.hxx b/include/tools/link.hxx
index 99be32b..16a5818 100644
--- a/include/tools/link.hxx
+++ b/include/tools/link.hxx
@@ -23,7 +23,6 @@
 #include <sal/config.h>
 
 #include <sal/types.h>
-#include <tools/toolsdllapi.h>
 
 #define DECL_LINK(Member, ArgType) \
     static sal_IntPtr LinkStub##Member(void *, void *); \
@@ -131,8 +130,7 @@
 
 #define EMPTYARG
 
-template<typename Arg = void *, typename Ret = sal_IntPtr>
-class TOOLS_DLLPUBLIC Link {
+template<typename Arg = void *, typename Ret = sal_IntPtr> class Link {
 public:
     typedef Ret Stub(void *, Arg);
 


More information about the Libreoffice-commits mailing list