[Libreoffice-commits] core.git: vcl/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Dec 7 06:50:45 UTC 2018
vcl/source/gdi/pdfwriter_impl.cxx | 8 --------
1 file changed, 8 deletions(-)
New commits:
commit 4723ea4b509fb6df5da1c798859cd85790c1f1fb
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Thu Dec 6 23:26:32 2018 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Dec 7 07:50:13 2018 +0100
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 at redhat.com>
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>
More information about the Libreoffice-commits
mailing list