summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-10-04 10:16:31 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-10-04 13:45:39 +0200
commit7f0bf6220bd69cf119878ebd1352b55a042b88ed (patch)
tree30590d14fbe352ddedb20ce3c916657939a64ebd /vcl
parentaed1870375cd2b718fcc5fe19cdc27b711747d9c (diff)
Revert "check for unnecessary DLLPUBLIC annotations"
This reverts commit a599eeab786ecbe1b5b6509e3c792e5c1ba31248, plus follow-up fa4431449d0306e8179f53a2a69c549800bd24bd "Avoid bogus loplugin:dllmacro 'unnecessary *DLLPUBLIC declaration ...'". See (abandoned) <https://gerrit.libreoffice.org/#/c/42983/> "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.
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/headless/svpgdi.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/inc/headless/svpgdi.hxx b/vcl/inc/headless/svpgdi.hxx
index 7130d1153d6b..5879c1bfdf44 100644
--- a/vcl/inc/headless/svpgdi.hxx
+++ b/vcl/inc/headless/svpgdi.hxx
@@ -71,7 +71,7 @@ typedef void (*damageHandler)(void* handle,
sal_Int32 nExtentsX, sal_Int32 nExtentsY,
sal_Int32 nExtentsWidth, sal_Int32 nExtentsHeight);
-struct DamageHandler
+struct VCL_DLLPUBLIC DamageHandler
{
void *handle;
damageHandler damaged;