diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-10-02 18:15:41 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-10-02 20:00:18 +0200 |
commit | 3b59dbbffdb73e48f9e2398bb1eecc24e3d95e13 (patch) | |
tree | 8b58bba8c42110e10f6763b598f294bf7359b1f0 /sdext | |
parent | 86cd29772e4f0571149c479378164572fbc96034 (diff) |
remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macro
This is supported in GCC 4.6.0 already:
https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html
Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 067a132f0be4..a1fe93121f2f 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -23,10 +23,8 @@ #include <sal/types.h> #if defined __GNUC__ -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wunused-parameter" -#endif #elif defined _MSC_VER #pragma warning(push, 1) #endif @@ -41,9 +39,7 @@ #include "PDFDoc.h" #if defined __GNUC__ -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE # pragma GCC diagnostic pop -#endif #elif defined _MSC_VER #pragma warning(pop) #endif |