From 7f0bf6220bd69cf119878ebd1352b55a042b88ed Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 Oct 2017 10:16:31 +0200 Subject: Revert "check for unnecessary DLLPUBLIC annotations" This reverts commit a599eeab786ecbe1b5b6509e3c792e5c1ba31248, plus follow-up fa4431449d0306e8179f53a2a69c549800bd24bd "Avoid bogus loplugin:dllmacro 'unnecessary *DLLPUBLIC declaration ...'". See (abandoned) "loplugin:dllmacro: Handle implicit member functions" how this would have needed to be extended to give consistent results across Linux and macOS, but then would have started to remove DLLPUBLIC from entities that apparently need to at least have default type visibility on macOS and started to make tests fail. --- include/basegfx/color/bcolor.hxx | 2 +- include/basegfx/matrix/b2dhommatrixtools.hxx | 2 +- include/basegfx/numeric/ftools.hxx | 2 +- include/basegfx/pixel/bpixel.hxx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/basegfx') diff --git a/include/basegfx/color/bcolor.hxx b/include/basegfx/color/bcolor.hxx index c612a5d6dfd8..300f8db81e81 100644 --- a/include/basegfx/color/bcolor.hxx +++ b/include/basegfx/color/bcolor.hxx @@ -42,7 +42,7 @@ namespace basegfx @see B3DTuple */ - class SAL_WARN_UNUSED BColor : public B3DTuple + class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColor : public B3DTuple { public: /** Create a Color with red, green and blue components from [0.0 to 1.0] diff --git a/include/basegfx/matrix/b2dhommatrixtools.hxx b/include/basegfx/matrix/b2dhommatrixtools.hxx index f0559fdf8f11..c60a6ac96c21 100644 --- a/include/basegfx/matrix/b2dhommatrixtools.hxx +++ b/include/basegfx/matrix/b2dhommatrixtools.hxx @@ -148,7 +148,7 @@ namespace basegfx { namespace utils { - class B2DHomMatrixBufferedDecompose + class BASEGFX_DLLPUBLIC B2DHomMatrixBufferedDecompose { private: B2DVector maScale; diff --git a/include/basegfx/numeric/ftools.hxx b/include/basegfx/numeric/ftools.hxx index cf7a05316bc7..35a1a35111b2 100644 --- a/include/basegfx/numeric/ftools.hxx +++ b/include/basegfx/numeric/ftools.hxx @@ -148,7 +148,7 @@ namespace basegfx */ BASEGFX_DLLPUBLIC double snapToNearestMultiple(double v, const double fStep); - class fTools + class BASEGFX_DLLPUBLIC fTools { public: /// Get threshold value for equalZero and friends diff --git a/include/basegfx/pixel/bpixel.hxx b/include/basegfx/pixel/bpixel.hxx index 7eee516c2cff..ed1dadc06a09 100644 --- a/include/basegfx/pixel/bpixel.hxx +++ b/include/basegfx/pixel/bpixel.hxx @@ -27,7 +27,7 @@ namespace basegfx { - class BPixel + class BASEGFX_DLLPUBLIC BPixel { protected: union -- cgit