summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-06 23:26:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-07 07:50:13 +0100
commit4723ea4b509fb6df5da1c798859cd85790c1f1fb (patch)
treeb37bdef31eee8e7aaeab19d2e756452a3df46a3b /vcl
parent7c3c2ef49f636653808d3cbd2629cb18ffc45ee1 (diff)
No need to silence -Wregister in lcms2.h any more
...since 2bea600f0295cab7fad3edb55f0c5e092640e49e "external/lcms2: Stop warnings/errors about 'register'" patched those uses away Change-Id: Ib21bb60d158172c8c4e9e93bc3ebaf3729cdecd9 Reviewed-on: https://gerrit.libreoffice.org/64745 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx8
1 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 0a1c2c6998af..3ebe2ce38673 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -24,15 +24,7 @@
#include <math.h>
#include <algorithm>
-#if defined __GNUC__ && __cplusplus > 201402L
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpragmas"
-#pragma GCC diagnostic ignored "-Wregister"
-#endif
#include <lcms2.h>
-#if defined __GNUC__ && __cplusplus > 201402L
-#pragma GCC diagnostic pop
-#endif
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/polygon/b2dpolygon.hxx>