[poppler] 3 commits - fofi/FoFiBase.cc fofi/FoFiBase.h fofi/FoFiEncodings.cc fofi/FoFiEncodings.h fofi/FoFiIdentifier.cc fofi/FoFiIdentifier.h fofi/FoFiTrueType.cc fofi/FoFiTrueType.h fofi/FoFiType1.cc fofi/FoFiType1C.cc fofi/FoFiType1C.h fofi/FoFiType1.h goo/FixedPoint.cc goo/FixedPoint.h goo/GooString.cc goo/GooString.h goo/GooTimer.cc goo/GooTimer.h poppler/Annot.cc poppler/Annot.h poppler/Array.cc poppler/Array.h poppler/BuiltinFont.cc poppler/BuiltinFont.h poppler/CairoFontEngine.cc poppler/CairoFontEngine.h poppler/CairoOutputDev.cc poppler/CairoOutputDev.h poppler/Catalog.cc poppler/Catalog.h poppler/CharCodeToUnicode.cc poppler/CharCodeToUnicode.h poppler/CMap.cc poppler/CMap.h poppler/DCTStream.h poppler/Decrypt.cc poppler/Decrypt.h poppler/Dict.cc poppler/Dict.h poppler/Error.cc poppler/Error.h poppler/FileSpec.h poppler/FlateEncoder.cc poppler/FlateEncoder.h poppler/FlateStream.cc poppler/FlateStream.h poppler/Form.cc poppler/Form.h poppler/Function.cc poppler/Function.h po ppler/Gfx.cc poppler/GfxFont.cc poppler/GfxFont.h poppler/Gfx.h poppler/GfxState.cc poppler/GfxState.h poppler/GlobalParams.cc poppler/GlobalParams.h poppler/GlobalParamsWin.cc poppler/JArithmeticDecoder.cc poppler/JArithmeticDecoder.h poppler/JBIG2Stream.cc poppler/JBIG2Stream.h poppler/JPXStream.cc poppler/JPXStream.h poppler/Lexer.cc poppler/Lexer.h poppler/Link.cc poppler/Link.h poppler/NameToCharCode.cc poppler/NameToCharCode.h poppler/Object.cc poppler/Object.h poppler/OptionalContent.cc poppler/OptionalContent.h poppler/Outline.cc poppler/Outline.h poppler/OutputDev.cc poppler/OutputDev.h poppler/Page.cc poppler/Page.h poppler/PageTransition.cc poppler/PageTransition.h poppler/Parser.cc poppler/Parser.h poppler/PDFDoc.cc poppler/PDFDoc.h poppler/PreScanOutputDev.cc poppler/PreScanOutputDev.h poppler/ProfileData.cc poppler/ProfileData.h poppler/PSOutputDev.cc poppler/PSOutputDev.h poppler/PSTokenizer.cc poppler/PSTokenizer.h poppler/SecurityHandler.cc poppler/SecurityHandler.h poppler/SplashOutputDev.cc poppler/SplashOutputDev.h poppler/Stream.cc poppler/Stream.h poppler/StructElement.cc poppler/StructElement.h poppler/StructTreeRoot.cc poppler/StructTreeRoot.h poppler/TextOutputDev.cc poppler/TextOutputDev.h poppler/UnicodeMap.cc poppler/UnicodeMap.h poppler/UTF.h poppler/XRef.cc poppler/XRef.h qt5/src splash/SplashBitmap.cc splash/SplashBitmap.h splash/Splash.cc splash/SplashClip.cc splash/SplashClip.h splash/SplashFont.cc splash/SplashFontEngine.cc splash/SplashFontEngine.h splash/SplashFontFile.cc splash/SplashFontFile.h splash/SplashFontFileID.cc splash/SplashFontFileID.h splash/SplashFont.h splash/SplashFTFont.cc splash/SplashFTFontEngine.cc splash/SplashFTFontEngine.h splash/SplashFTFontFile.cc splash/SplashFTFontFile.h splash/SplashFTFont.h splash/Splash.h splash/SplashPath.cc splash/SplashPath.h splash/SplashPattern.cc splash/SplashPattern.h splash/SplashScreen.cc splash/SplashScreen.h splash/SplashState.cc splash/SplashState.h splash/SplashXPat h.cc splash/SplashXPath.h splash/SplashXPathScanner.cc splash/SplashXPathScanner.h test/gtk-test.cc test/pdf-inspector.cc utils/HtmlOutputDev.cc utils/HtmlOutputDev.h utils/ImageOutputDev.cc utils/ImageOutputDev.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Oct 10 11:07:18 UTC 2018
fofi/FoFiBase.cc | 4 ----
fofi/FoFiBase.h | 4 ----
fofi/FoFiEncodings.cc | 4 ----
fofi/FoFiEncodings.h | 4 ----
fofi/FoFiIdentifier.cc | 4 ----
fofi/FoFiIdentifier.h | 4 ----
fofi/FoFiTrueType.cc | 4 ----
fofi/FoFiTrueType.h | 4 ----
fofi/FoFiType1.cc | 4 ----
fofi/FoFiType1.h | 4 ----
fofi/FoFiType1C.cc | 4 ----
fofi/FoFiType1C.h | 4 ----
goo/FixedPoint.cc | 4 ----
goo/FixedPoint.h | 4 ----
goo/GooString.cc | 4 ----
goo/GooString.h | 4 ----
goo/GooTimer.cc | 4 ----
goo/GooTimer.h | 4 ----
poppler/Annot.cc | 4 ----
poppler/Annot.h | 4 ----
poppler/Array.cc | 4 ----
poppler/Array.h | 4 ----
poppler/BuiltinFont.cc | 4 ----
poppler/BuiltinFont.h | 4 ----
poppler/CMap.cc | 4 ----
poppler/CMap.h | 4 ----
poppler/CairoFontEngine.cc | 4 ----
poppler/CairoFontEngine.h | 4 ----
poppler/CairoOutputDev.cc | 11 -----------
poppler/CairoOutputDev.h | 4 ----
poppler/Catalog.cc | 4 ----
poppler/Catalog.h | 4 ----
poppler/CharCodeToUnicode.cc | 4 ----
poppler/CharCodeToUnicode.h | 4 ----
poppler/DCTStream.h | 9 ---------
poppler/Decrypt.cc | 7 -------
poppler/Decrypt.h | 4 ----
poppler/Dict.cc | 4 ----
poppler/Dict.h | 4 ----
poppler/Error.cc | 4 ----
poppler/Error.h | 4 ----
poppler/FileSpec.h | 4 ----
poppler/FlateEncoder.cc | 4 ----
poppler/FlateEncoder.h | 4 ----
poppler/FlateStream.cc | 4 ----
poppler/FlateStream.h | 9 ---------
poppler/Form.cc | 4 ----
poppler/Form.h | 4 ----
poppler/Function.cc | 4 ----
poppler/Function.h | 4 ----
poppler/Gfx.cc | 4 ----
poppler/Gfx.h | 4 ----
poppler/GfxFont.cc | 4 ----
poppler/GfxFont.h | 4 ----
poppler/GfxState.cc | 4 ----
poppler/GfxState.h | 4 ----
poppler/GlobalParams.cc | 4 ----
poppler/GlobalParams.h | 4 ----
poppler/GlobalParamsWin.cc | 4 ----
poppler/JArithmeticDecoder.cc | 4 ----
poppler/JArithmeticDecoder.h | 4 ----
poppler/JBIG2Stream.cc | 4 ----
poppler/JBIG2Stream.h | 4 ----
poppler/JPXStream.cc | 4 ----
poppler/JPXStream.h | 4 ----
poppler/Lexer.cc | 4 ----
poppler/Lexer.h | 4 ----
poppler/Link.cc | 4 ----
poppler/Link.h | 4 ----
poppler/NameToCharCode.cc | 4 ----
poppler/NameToCharCode.h | 4 ----
poppler/Object.cc | 4 ----
poppler/Object.h | 4 ----
poppler/OptionalContent.cc | 4 ----
poppler/OptionalContent.h | 4 ----
poppler/Outline.cc | 4 ----
poppler/Outline.h | 4 ----
poppler/OutputDev.cc | 4 ----
poppler/OutputDev.h | 4 ----
poppler/PDFDoc.cc | 4 ----
poppler/PDFDoc.h | 4 ----
poppler/PSOutputDev.cc | 4 ----
poppler/PSOutputDev.h | 4 ----
poppler/PSTokenizer.cc | 4 ----
poppler/PSTokenizer.h | 4 ----
poppler/Page.cc | 4 ----
poppler/Page.h | 4 ----
poppler/PageTransition.cc | 4 ----
poppler/PageTransition.h | 4 ----
poppler/Parser.cc | 4 ----
poppler/Parser.h | 4 ----
poppler/PreScanOutputDev.cc | 4 ----
poppler/PreScanOutputDev.h | 4 ----
poppler/ProfileData.cc | 4 ----
poppler/ProfileData.h | 4 ----
poppler/SecurityHandler.cc | 4 ----
poppler/SecurityHandler.h | 4 ----
poppler/SplashOutputDev.cc | 4 ----
poppler/SplashOutputDev.h | 4 ----
poppler/Stream.cc | 4 ----
poppler/Stream.h | 4 ----
poppler/StructElement.cc | 4 ----
poppler/StructElement.h | 4 ----
poppler/StructTreeRoot.cc | 4 ----
poppler/StructTreeRoot.h | 4 ----
poppler/TextOutputDev.cc | 4 ----
poppler/TextOutputDev.h | 4 ----
poppler/UTF.h | 4 ----
poppler/UnicodeMap.cc | 4 ----
poppler/UnicodeMap.h | 4 ----
poppler/XRef.cc | 4 ----
poppler/XRef.h | 4 ----
qt5/src/ArthurOutputDev.cc | 4 ----
qt5/src/ArthurOutputDev.h | 4 ----
splash/Splash.cc | 4 ----
splash/Splash.h | 4 ----
splash/SplashBitmap.cc | 4 ----
splash/SplashBitmap.h | 4 ----
splash/SplashClip.cc | 4 ----
splash/SplashClip.h | 4 ----
splash/SplashFTFont.cc | 4 ----
splash/SplashFTFont.h | 4 ----
splash/SplashFTFontEngine.cc | 4 ----
splash/SplashFTFontEngine.h | 4 ----
splash/SplashFTFontFile.cc | 4 ----
splash/SplashFTFontFile.h | 4 ----
splash/SplashFont.cc | 4 ----
splash/SplashFont.h | 4 ----
splash/SplashFontEngine.cc | 4 ----
splash/SplashFontEngine.h | 4 ----
splash/SplashFontFile.cc | 4 ----
splash/SplashFontFile.h | 4 ----
splash/SplashFontFileID.cc | 4 ----
splash/SplashFontFileID.h | 4 ----
splash/SplashPath.cc | 4 ----
splash/SplashPath.h | 4 ----
splash/SplashPattern.cc | 4 ----
splash/SplashPattern.h | 4 ----
splash/SplashScreen.cc | 4 ----
splash/SplashScreen.h | 4 ----
splash/SplashState.cc | 4 ----
splash/SplashState.h | 4 ----
splash/SplashXPath.cc | 4 ----
splash/SplashXPath.h | 4 ----
splash/SplashXPathScanner.cc | 4 ----
splash/SplashXPathScanner.h | 4 ----
test/gtk-test.cc | 4 ----
test/pdf-inspector.cc | 4 ----
utils/HtmlOutputDev.cc | 4 ----
utils/HtmlOutputDev.h | 4 ----
utils/ImageOutputDev.cc | 4 ----
utils/ImageOutputDev.h | 4 ----
152 files changed, 628 deletions(-)
New commits:
commit 7f20ace4579f69fc3bd0f975fadec37134c3782c
Author: Adam Reichold <adam.reichold at t-online.de>
Date: Wed Oct 10 07:44:58 2018 +0200
Remove usage of pragmas interface and implementation
GCC recommends not using them for a long time and its documentation says:
> These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support
> and the “key method” heuristic mentioned in Vague Linkage.
> Using them can actually cause your program to grow due to
> unnecessary out-of-line copies of inline functions.
Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were
guarded by just __GNUC__ which upsets Clang.
diff --git a/fofi/FoFiBase.cc b/fofi/FoFiBase.cc
index 8ca381b3..713d071d 100644
--- a/fofi/FoFiBase.cc
+++ b/fofi/FoFiBase.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <limits.h>
#include "goo/gmem.h"
diff --git a/fofi/FoFiBase.h b/fofi/FoFiBase.h
index e3413b10..51652985 100644
--- a/fofi/FoFiBase.h
+++ b/fofi/FoFiBase.h
@@ -23,10 +23,6 @@
#ifndef FOFIBASE_H
#define FOFIBASE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
//------------------------------------------------------------------------
diff --git a/fofi/FoFiEncodings.cc b/fofi/FoFiEncodings.cc
index 96bd4e95..17b93f03 100644
--- a/fofi/FoFiEncodings.cc
+++ b/fofi/FoFiEncodings.cc
@@ -22,10 +22,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include "FoFiEncodings.h"
diff --git a/fofi/FoFiEncodings.h b/fofi/FoFiEncodings.h
index e7444906..c27a370e 100644
--- a/fofi/FoFiEncodings.h
+++ b/fofi/FoFiEncodings.h
@@ -23,10 +23,6 @@
#ifndef FOFIENCODINGS_H
#define FOFIENCODINGS_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
//------------------------------------------------------------------------
diff --git a/fofi/FoFiIdentifier.cc b/fofi/FoFiIdentifier.cc
index 8843f9db..ded16e23 100644
--- a/fofi/FoFiIdentifier.cc
+++ b/fofi/FoFiIdentifier.cc
@@ -21,10 +21,6 @@
//
//========================================================================
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <string.h>
#include <limits.h>
diff --git a/fofi/FoFiIdentifier.h b/fofi/FoFiIdentifier.h
index 2414b849..45252e9a 100644
--- a/fofi/FoFiIdentifier.h
+++ b/fofi/FoFiIdentifier.h
@@ -23,10 +23,6 @@
#ifndef FOFIIDENTIFIER_H
#define FOFIIDENTIFIER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
//------------------------------------------------------------------------
// FoFiIdentifier
//------------------------------------------------------------------------
diff --git a/fofi/FoFiTrueType.cc b/fofi/FoFiTrueType.cc
index 759ade2d..f7b9ab58 100644
--- a/fofi/FoFiTrueType.cc
+++ b/fofi/FoFiTrueType.cc
@@ -32,10 +32,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <limits.h>
diff --git a/fofi/FoFiTrueType.h b/fofi/FoFiTrueType.h
index 3524b139..e364112c 100644
--- a/fofi/FoFiTrueType.h
+++ b/fofi/FoFiTrueType.h
@@ -28,10 +28,6 @@
#ifndef FOFITRUETYPE_H
#define FOFITRUETYPE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "stddef.h"
#include <unordered_map>
#include <string>
diff --git a/fofi/FoFiType1.cc b/fofi/FoFiType1.cc
index 62d10c8c..83faa4a1 100644
--- a/fofi/FoFiType1.cc
+++ b/fofi/FoFiType1.cc
@@ -27,10 +27,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <limits.h>
diff --git a/fofi/FoFiType1.h b/fofi/FoFiType1.h
index f8a92cab..7902be53 100644
--- a/fofi/FoFiType1.h
+++ b/fofi/FoFiType1.h
@@ -23,10 +23,6 @@
#ifndef FOFITYPE1_H
#define FOFITYPE1_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "FoFiBase.h"
diff --git a/fofi/FoFiType1C.cc b/fofi/FoFiType1C.cc
index d70c80b5..2312f3af 100644
--- a/fofi/FoFiType1C.cc
+++ b/fofi/FoFiType1C.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <math.h>
diff --git a/fofi/FoFiType1C.h b/fofi/FoFiType1C.h
index 6f2c696f..131fa311 100644
--- a/fofi/FoFiType1C.h
+++ b/fofi/FoFiType1C.h
@@ -25,10 +25,6 @@
#ifndef FOFITYPE1C_H
#define FOFITYPE1C_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "FoFiBase.h"
diff --git a/goo/FixedPoint.cc b/goo/FixedPoint.cc
index b51446bf..565b86c2 100644
--- a/goo/FixedPoint.cc
+++ b/goo/FixedPoint.cc
@@ -26,10 +26,6 @@
#ifdef USE_FIXEDPOINT
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "FixedPoint.h"
#define ln2 ((FixedPoint)0.69314718)
diff --git a/goo/FixedPoint.h b/goo/FixedPoint.h
index 408dfc6f..a7b406ec 100644
--- a/goo/FixedPoint.h
+++ b/goo/FixedPoint.h
@@ -30,10 +30,6 @@
#ifdef USE_FIXEDPOINT
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include "gtypes.h"
diff --git a/goo/GooString.cc b/goo/GooString.cc
index 6a625e2b..42bf604e 100644
--- a/goo/GooString.cc
+++ b/goo/GooString.cc
@@ -35,10 +35,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
diff --git a/goo/GooString.h b/goo/GooString.h
index 1eca4bc3..4755526a 100644
--- a/goo/GooString.h
+++ b/goo/GooString.h
@@ -33,10 +33,6 @@
#ifndef GooString_H
#define GooString_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <stdarg.h>
#include <stdlib.h> // for NULL
#include <string>
diff --git a/goo/GooTimer.cc b/goo/GooTimer.cc
index b1161853..42295a48 100644
--- a/goo/GooTimer.cc
+++ b/goo/GooTimer.cc
@@ -13,10 +13,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "GooTimer.h"
#include <string.h>
diff --git a/goo/GooTimer.h b/goo/GooTimer.h
index ac64f6b4..be0b6ff1 100644
--- a/goo/GooTimer.h
+++ b/goo/GooTimer.h
@@ -17,10 +17,6 @@
#ifndef GOOTIMER_H
#define GOOTIMER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "gtypes.h"
#ifdef HAVE_GETTIMEOFDAY
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 38108bca..d4c20415 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -50,10 +50,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <math.h>
#include <assert.h>
diff --git a/poppler/Annot.h b/poppler/Annot.h
index bacce742..c9554bdc 100644
--- a/poppler/Annot.h
+++ b/poppler/Annot.h
@@ -39,10 +39,6 @@
#ifndef ANNOT_H
#define ANNOT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <memory>
#include <atomic>
#include <mutex>
diff --git a/poppler/Array.cc b/poppler/Array.cc
index 24d863da..5809fb2f 100644
--- a/poppler/Array.cc
+++ b/poppler/Array.cc
@@ -27,10 +27,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <cassert>
#include "Object.h"
diff --git a/poppler/Array.h b/poppler/Array.h
index a6764482..fb2aa798 100644
--- a/poppler/Array.h
+++ b/poppler/Array.h
@@ -28,10 +28,6 @@
#ifndef ARRAY_H
#define ARRAY_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <atomic>
#include <mutex>
#include <vector>
diff --git a/poppler/BuiltinFont.cc b/poppler/BuiltinFont.cc
index b6034752..a0e9d094 100644
--- a/poppler/BuiltinFont.cc
+++ b/poppler/BuiltinFont.cc
@@ -8,10 +8,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include "goo/gmem.h"
diff --git a/poppler/BuiltinFont.h b/poppler/BuiltinFont.h
index 754e7366..0c580d18 100644
--- a/poppler/BuiltinFont.h
+++ b/poppler/BuiltinFont.h
@@ -23,10 +23,6 @@
#ifndef BUILTINFONT_H
#define BUILTINFONT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
struct BuiltinFont;
diff --git a/poppler/CMap.cc b/poppler/CMap.cc
index 9af6e241..cc083638 100644
--- a/poppler/CMap.cc
+++ b/poppler/CMap.cc
@@ -25,10 +25,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/poppler/CMap.h b/poppler/CMap.h
index 75c6955b..acf00a2b 100644
--- a/poppler/CMap.h
+++ b/poppler/CMap.h
@@ -25,10 +25,6 @@
#ifndef CMAP_H
#define CMAP_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <atomic>
#include "poppler-config.h"
diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index 41064cac..4a8b4898 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -56,10 +56,6 @@
#define CAN_CHECK_OPEN_FACES 1
#endif
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
//------------------------------------------------------------------------
// CairoFont
//------------------------------------------------------------------------
diff --git a/poppler/CairoFontEngine.h b/poppler/CairoFontEngine.h
index 9616f5c4..0a0219a5 100644
--- a/poppler/CairoFontEngine.h
+++ b/poppler/CairoFontEngine.h
@@ -29,10 +29,6 @@
#ifndef CAIROFONTENGINE_H
#define CAIROFONTENGINE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <mutex>
#include "poppler-config.h"
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index b1d6be2e..35493ac7 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -38,10 +38,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <cstdint>
#include <string.h>
#include <math.h>
diff --git a/poppler/CairoOutputDev.h b/poppler/CairoOutputDev.h
index 337b7da3..a484e3b6 100644
--- a/poppler/CairoOutputDev.h
+++ b/poppler/CairoOutputDev.h
@@ -34,10 +34,6 @@
#ifndef CAIROOUTPUTDEV_H
#define CAIROOUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include <cairo-ft.h>
#include "OutputDev.h"
diff --git a/poppler/Catalog.cc b/poppler/Catalog.cc
index 4ded496b..78f419e2 100644
--- a/poppler/Catalog.cc
+++ b/poppler/Catalog.cc
@@ -43,10 +43,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include <stdlib.h>
#include "goo/gmem.h"
diff --git a/poppler/Catalog.h b/poppler/Catalog.h
index 253b53f0..05d2146c 100644
--- a/poppler/Catalog.h
+++ b/poppler/Catalog.h
@@ -37,10 +37,6 @@
#ifndef CATALOG_H
#define CATALOG_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "Object.h"
diff --git a/poppler/CharCodeToUnicode.cc b/poppler/CharCodeToUnicode.cc
index 5b84c2e1..ecd620f8 100644
--- a/poppler/CharCodeToUnicode.cc
+++ b/poppler/CharCodeToUnicode.cc
@@ -35,10 +35,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <string.h>
#include "goo/glibc.h"
diff --git a/poppler/CharCodeToUnicode.h b/poppler/CharCodeToUnicode.h
index e726176f..062f5a26 100644
--- a/poppler/CharCodeToUnicode.h
+++ b/poppler/CharCodeToUnicode.h
@@ -30,10 +30,6 @@
#ifndef CHARCODETOUNICODE_H
#define CHARCODETOUNICODE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <atomic>
#include "poppler-config.h"
diff --git a/poppler/DCTStream.h b/poppler/DCTStream.h
index 00e0484c..41a4759d 100644
--- a/poppler/DCTStream.h
+++ b/poppler/DCTStream.h
@@ -16,15 +16,6 @@
#ifndef DCTSTREAM_H
#define DCTSTREAM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
-
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "poppler-config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/poppler/Decrypt.cc b/poppler/Decrypt.cc
index ce96b547..3cc6ada8 100644
--- a/poppler/Decrypt.cc
+++ b/poppler/Decrypt.cc
@@ -29,10 +29,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <cstdint>
#include <string.h>
#include "goo/gmem.h"
diff --git a/poppler/Decrypt.h b/poppler/Decrypt.h
index 936e6b31..a92859c4 100644
--- a/poppler/Decrypt.h
+++ b/poppler/Decrypt.h
@@ -28,10 +28,6 @@
#ifndef DECRYPT_H
#define DECRYPT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "goo/GooString.h"
#include "Object.h"
diff --git a/poppler/Dict.cc b/poppler/Dict.cc
index 3e14a50d..9f3f9f43 100644
--- a/poppler/Dict.cc
+++ b/poppler/Dict.cc
@@ -31,10 +31,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <algorithm>
#include "XRef.h"
diff --git a/poppler/Dict.h b/poppler/Dict.h
index 20fd8455..893f3981 100644
--- a/poppler/Dict.h
+++ b/poppler/Dict.h
@@ -30,10 +30,6 @@
#ifndef DICT_H
#define DICT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <atomic>
#include <mutex>
#include <string>
diff --git a/poppler/Error.cc b/poppler/Error.cc
index 32c84d82..8c47d854 100644
--- a/poppler/Error.cc
+++ b/poppler/Error.cc
@@ -27,10 +27,6 @@
#include <config.h>
#include <poppler-config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
diff --git a/poppler/Error.h b/poppler/Error.h
index 3e3597fd..50c91100 100644
--- a/poppler/Error.h
+++ b/poppler/Error.h
@@ -27,10 +27,6 @@
#ifndef ERROR_H
#define ERROR_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <stdarg.h>
#include "poppler-config.h"
#include "goo/gtypes.h"
diff --git a/poppler/FileSpec.h b/poppler/FileSpec.h
index eeeabca1..d156c884 100644
--- a/poppler/FileSpec.h
+++ b/poppler/FileSpec.h
@@ -16,10 +16,6 @@
#ifndef FILE_SPEC_H
#define FILE_SPEC_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
class EmbFile {
diff --git a/poppler/FlateEncoder.cc b/poppler/FlateEncoder.cc
index c6e4a042..a0a7c45b 100644
--- a/poppler/FlateEncoder.cc
+++ b/poppler/FlateEncoder.cc
@@ -11,10 +11,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "FlateEncoder.h"
//------------------------------------------------------------------------
diff --git a/poppler/FlateEncoder.h b/poppler/FlateEncoder.h
index 2db3f219..69053c9c 100644
--- a/poppler/FlateEncoder.h
+++ b/poppler/FlateEncoder.h
@@ -12,10 +12,6 @@
#ifndef FLATEENCODE_H
#define FLATEENCODE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/poppler/FlateStream.cc b/poppler/FlateStream.cc
index d23435ff..e861acb8 100644
--- a/poppler/FlateStream.cc
+++ b/poppler/FlateStream.cc
@@ -13,10 +13,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "poppler-config.h"
#ifdef ENABLE_ZLIB_UNCOMPRESS
diff --git a/poppler/FlateStream.h b/poppler/FlateStream.h
index 6a88a234..117196ec 100644
--- a/poppler/FlateStream.h
+++ b/poppler/FlateStream.h
@@ -12,15 +12,6 @@
#ifndef FLATESTREAM_H
#define FLATESTREAM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
-
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "poppler-config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/poppler/Form.cc b/poppler/Form.cc
index 30ded164..808e59f9 100644
--- a/poppler/Form.cc
+++ b/poppler/Form.cc
@@ -28,10 +28,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <set>
#include <limits>
#include <stddef.h>
diff --git a/poppler/Form.h b/poppler/Form.h
index 4d126de3..76af74d3 100644
--- a/poppler/Form.h
+++ b/poppler/Form.h
@@ -24,10 +24,6 @@
#ifndef FORM_H
#define FORM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/GooList.h"
#include "Object.h"
#include "Annot.h"
diff --git a/poppler/Function.cc b/poppler/Function.cc
index b16cbfc1..b8f5fdc7 100644
--- a/poppler/Function.cc
+++ b/poppler/Function.cc
@@ -28,10 +28,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
diff --git a/poppler/Function.h b/poppler/Function.h
index 0607bf14..87480dcc 100644
--- a/poppler/Function.h
+++ b/poppler/Function.h
@@ -27,10 +27,6 @@
#ifndef FUNCTION_H
#define FUNCTION_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
#include <set>
diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 22fd5764..1c055e63 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -49,10 +49,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
diff --git a/poppler/Gfx.h b/poppler/Gfx.h
index 296a6e31..9abbbe3c 100644
--- a/poppler/Gfx.h
+++ b/poppler/Gfx.h
@@ -32,10 +32,6 @@
#ifndef GFX_H
#define GFX_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "goo/gtypes.h"
#include "goo/GooList.h"
diff --git a/poppler/GfxFont.cc b/poppler/GfxFont.cc
index 1ede4421..20388519 100644
--- a/poppler/GfxFont.cc
+++ b/poppler/GfxFont.cc
@@ -42,10 +42,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/poppler/GfxFont.h b/poppler/GfxFont.h
index 7823046c..bad8af5f 100644
--- a/poppler/GfxFont.h
+++ b/poppler/GfxFont.h
@@ -33,10 +33,6 @@
#ifndef GFXFONT_H
#define GFXFONT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "goo/GooString.h"
#include "Object.h"
diff --git a/poppler/GfxState.cc b/poppler/GfxState.cc
index 9d11fc55..b5ee150b 100644
--- a/poppler/GfxState.cc
+++ b/poppler/GfxState.cc
@@ -41,10 +41,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <algorithm>
#include <memory>
#include <stddef.h>
diff --git a/poppler/GfxState.h b/poppler/GfxState.h
index b37362e0..0af19040 100644
--- a/poppler/GfxState.h
+++ b/poppler/GfxState.h
@@ -33,10 +33,6 @@
#ifndef GFXSTATE_H
#define GFXSTATE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "goo/gtypes.h"
diff --git a/poppler/GlobalParams.cc b/poppler/GlobalParams.cc
index 3e8cc3c4..0a1db73d 100644
--- a/poppler/GlobalParams.cc
+++ b/poppler/GlobalParams.cc
@@ -47,10 +47,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include <stdio.h>
#include <ctype.h>
diff --git a/poppler/GlobalParams.h b/poppler/GlobalParams.h
index f6e63bb2..4f477dea 100644
--- a/poppler/GlobalParams.h
+++ b/poppler/GlobalParams.h
@@ -36,10 +36,6 @@
#ifndef GLOBALPARAMS_H
#define GLOBALPARAMS_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <assert.h>
#include "poppler-config.h"
#include <stdio.h>
diff --git a/poppler/GlobalParamsWin.cc b/poppler/GlobalParamsWin.cc
index 40f6a683..f975483c 100644
--- a/poppler/GlobalParamsWin.cc
+++ b/poppler/GlobalParamsWin.cc
@@ -21,10 +21,6 @@ description for all fonts available in Windows. That's how MuPDF works.
#include <config.h>
#endif
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <windows.h>
#if !(_WIN32_IE >= 0x0500)
#error "_WIN32_IE must be defined >= 0x0500 for SHGFP_TYPE_CURRENT from shlobj.h"
diff --git a/poppler/JArithmeticDecoder.cc b/poppler/JArithmeticDecoder.cc
index b8bb3b90..1f54b156 100644
--- a/poppler/JArithmeticDecoder.cc
+++ b/poppler/JArithmeticDecoder.cc
@@ -8,10 +8,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "Object.h"
#include "Stream.h"
#include "JArithmeticDecoder.h"
diff --git a/poppler/JArithmeticDecoder.h b/poppler/JArithmeticDecoder.h
index cb8f481f..3f4f0737 100644
--- a/poppler/JArithmeticDecoder.h
+++ b/poppler/JArithmeticDecoder.h
@@ -25,10 +25,6 @@
#ifndef JARITHMETICDECODER_H
#define JARITHMETICDECODER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
class Stream;
diff --git a/poppler/JBIG2Stream.cc b/poppler/JBIG2Stream.cc
index 17b90d7a..c3621a7a 100644
--- a/poppler/JBIG2Stream.cc
+++ b/poppler/JBIG2Stream.cc
@@ -32,10 +32,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <limits.h>
#include "goo/GooList.h"
diff --git a/poppler/JBIG2Stream.h b/poppler/JBIG2Stream.h
index f28a7d2d..9a45eb60 100644
--- a/poppler/JBIG2Stream.h
+++ b/poppler/JBIG2Stream.h
@@ -25,10 +25,6 @@
#ifndef JBIG2STREAM_H
#define JBIG2STREAM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
#include "Stream.h"
diff --git a/poppler/JPXStream.cc b/poppler/JPXStream.cc
index 1476e6a0..02c43693 100644
--- a/poppler/JPXStream.cc
+++ b/poppler/JPXStream.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <limits.h>
#include "gmem.h"
#include "Error.h"
diff --git a/poppler/JPXStream.h b/poppler/JPXStream.h
index 8926ffe5..2f22e2e1 100644
--- a/poppler/JPXStream.h
+++ b/poppler/JPXStream.h
@@ -9,10 +9,6 @@
#ifndef JPXSTREAM_H
#define JPXSTREAM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
#include "Stream.h"
diff --git a/poppler/Lexer.cc b/poppler/Lexer.cc
index 9ae19c34..3fe75763 100644
--- a/poppler/Lexer.cc
+++ b/poppler/Lexer.cc
@@ -26,10 +26,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
diff --git a/poppler/Lexer.h b/poppler/Lexer.h
index c2152463..8487e534 100644
--- a/poppler/Lexer.h
+++ b/poppler/Lexer.h
@@ -26,10 +26,6 @@
#ifndef LEXER_H
#define LEXER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
#include "Stream.h"
diff --git a/poppler/Link.cc b/poppler/Link.cc
index e2e309b2..b29e9847 100644
--- a/poppler/Link.cc
+++ b/poppler/Link.cc
@@ -30,10 +30,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include <string.h>
#include "goo/gmem.h"
diff --git a/poppler/Link.h b/poppler/Link.h
index c92ec5f5..a3ee1750 100644
--- a/poppler/Link.h
+++ b/poppler/Link.h
@@ -29,10 +29,6 @@
#ifndef LINK_H
#define LINK_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
#include <memory>
#include <set>
diff --git a/poppler/NameToCharCode.cc b/poppler/NameToCharCode.cc
index 0ac7c7b6..70fb99cf 100644
--- a/poppler/NameToCharCode.cc
+++ b/poppler/NameToCharCode.cc
@@ -8,10 +8,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include "goo/gmem.h"
#include "NameToCharCode.h"
diff --git a/poppler/NameToCharCode.h b/poppler/NameToCharCode.h
index da4c9c6a..481e4e98 100644
--- a/poppler/NameToCharCode.h
+++ b/poppler/NameToCharCode.h
@@ -23,10 +23,6 @@
#ifndef NAMETOCHARCODE_H
#define NAMETOCHARCODE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "CharTypes.h"
struct NameToCharCodeEntry;
diff --git a/poppler/Object.cc b/poppler/Object.cc
index d25cebeb..abb0b5b3 100644
--- a/poppler/Object.cc
+++ b/poppler/Object.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include "Object.h"
#include "Array.h"
diff --git a/poppler/Object.h b/poppler/Object.h
index 0b856d3d..73e4793a 100644
--- a/poppler/Object.h
+++ b/poppler/Object.h
@@ -33,10 +33,6 @@
#ifndef OBJECT_H
#define OBJECT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <cassert>
#include <set>
#include <stdio.h>
diff --git a/poppler/OptionalContent.cc b/poppler/OptionalContent.cc
index edb55b5f..9d924e93 100644
--- a/poppler/OptionalContent.cc
+++ b/poppler/OptionalContent.cc
@@ -15,10 +15,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "goo/gmem.h"
#include "goo/GooString.h"
#include "goo/GooList.h"
diff --git a/poppler/OptionalContent.h b/poppler/OptionalContent.h
index e1e73d41..aeace263 100644
--- a/poppler/OptionalContent.h
+++ b/poppler/OptionalContent.h
@@ -14,10 +14,6 @@
#ifndef OPTIONALCONTENT_H
#define OPTIONALCONTENT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
#include "CharTypes.h"
#include <unordered_map>
diff --git a/poppler/Outline.cc b/poppler/Outline.cc
index 20db8967..cad67f3e 100644
--- a/poppler/Outline.cc
+++ b/poppler/Outline.cc
@@ -27,10 +27,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "goo/gmem.h"
#include "goo/GooString.h"
#include "goo/GooList.h"
diff --git a/poppler/Outline.h b/poppler/Outline.h
index a6e9e79a..4194e048 100644
--- a/poppler/Outline.h
+++ b/poppler/Outline.h
@@ -24,10 +24,6 @@
#ifndef OUTLINE_H
#define OUTLINE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
#include "CharTypes.h"
diff --git a/poppler/OutputDev.cc b/poppler/OutputDev.cc
index a7614017..1897eed1 100644
--- a/poppler/OutputDev.cc
+++ b/poppler/OutputDev.cc
@@ -28,10 +28,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include "Object.h"
#include "Stream.h"
diff --git a/poppler/OutputDev.h b/poppler/OutputDev.h
index e9a877e8..158a1625 100644
--- a/poppler/OutputDev.h
+++ b/poppler/OutputDev.h
@@ -35,10 +35,6 @@
#ifndef OUTPUTDEV_H
#define OUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "goo/gtypes.h"
#include "CharTypes.h"
diff --git a/poppler/PDFDoc.cc b/poppler/PDFDoc.cc
index 6d6e1950..656eecc1 100644
--- a/poppler/PDFDoc.cc
+++ b/poppler/PDFDoc.cc
@@ -50,10 +50,6 @@
#include <config.h>
#include <poppler-config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <ctype.h>
#include <locale.h>
#include <stdio.h>
diff --git a/poppler/PDFDoc.h b/poppler/PDFDoc.h
index 729431ab..24a4a019 100644
--- a/poppler/PDFDoc.h
+++ b/poppler/PDFDoc.h
@@ -41,10 +41,6 @@
#ifndef PDFDOC_H
#define PDFDOC_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <mutex>
#include "poppler-config.h"
diff --git a/poppler/PSOutputDev.cc b/poppler/PSOutputDev.cc
index 25f50b72..4b409410 100644
--- a/poppler/PSOutputDev.cc
+++ b/poppler/PSOutputDev.cc
@@ -42,10 +42,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
diff --git a/poppler/PSOutputDev.h b/poppler/PSOutputDev.h
index 9a503469..8a452b62 100644
--- a/poppler/PSOutputDev.h
+++ b/poppler/PSOutputDev.h
@@ -36,10 +36,6 @@
#ifndef PSOUTPUTDEV_H
#define PSOUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include <stddef.h>
#include "Object.h"
diff --git a/poppler/PSTokenizer.cc b/poppler/PSTokenizer.cc
index ddde6bc1..bdc7bc41 100644
--- a/poppler/PSTokenizer.cc
+++ b/poppler/PSTokenizer.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include "PSTokenizer.h"
diff --git a/poppler/PSTokenizer.h b/poppler/PSTokenizer.h
index fc2f053d..6bfb2727 100644
--- a/poppler/PSTokenizer.h
+++ b/poppler/PSTokenizer.h
@@ -23,10 +23,6 @@
#ifndef PSTOKENIZER_H
#define PSTOKENIZER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
//------------------------------------------------------------------------
diff --git a/poppler/Page.cc b/poppler/Page.cc
index 3fcbe6ef..acd3820d 100644
--- a/poppler/Page.cc
+++ b/poppler/Page.cc
@@ -37,10 +37,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include <limits.h>
#include "GlobalParams.h"
diff --git a/poppler/Page.h b/poppler/Page.h
index 4e2fffe1..185fe949 100644
--- a/poppler/Page.h
+++ b/poppler/Page.h
@@ -32,10 +32,6 @@
#ifndef PAGE_H
#define PAGE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <mutex>
#include "poppler-config.h"
diff --git a/poppler/PageTransition.cc b/poppler/PageTransition.cc
index 07a2c65a..c532b91c 100644
--- a/poppler/PageTransition.cc
+++ b/poppler/PageTransition.cc
@@ -19,10 +19,6 @@
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "PageTransition.h"
//------------------------------------------------------------------------
diff --git a/poppler/PageTransition.h b/poppler/PageTransition.h
index 82f080f4..9f78f3cc 100644
--- a/poppler/PageTransition.h
+++ b/poppler/PageTransition.h
@@ -20,10 +20,6 @@
#ifndef PAGE_TRANSITION_H
#define PAGE_TRANSITION_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Object.h"
//------------------------------------------------------------------------
diff --git a/poppler/Parser.cc b/poppler/Parser.cc
index b26fff75..2315e317 100644
--- a/poppler/Parser.cc
+++ b/poppler/Parser.cc
@@ -29,10 +29,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stddef.h>
#include "Object.h"
#include "Array.h"
diff --git a/poppler/Parser.h b/poppler/Parser.h
index 6390119d..1faaa463 100644
--- a/poppler/Parser.h
+++ b/poppler/Parser.h
@@ -26,10 +26,6 @@
#ifndef PARSER_H
#define PARSER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "Lexer.h"
//------------------------------------------------------------------------
diff --git a/poppler/PreScanOutputDev.cc b/poppler/PreScanOutputDev.cc
index 07920179..15965d36 100644
--- a/poppler/PreScanOutputDev.cc
+++ b/poppler/PreScanOutputDev.cc
@@ -26,10 +26,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <math.h>
#include "GlobalParams.h"
#include "Gfx.h"
diff --git a/poppler/PreScanOutputDev.h b/poppler/PreScanOutputDev.h
index cf0359ad..c312f281 100644
--- a/poppler/PreScanOutputDev.h
+++ b/poppler/PreScanOutputDev.h
@@ -27,10 +27,6 @@
#ifndef PRESCANOUTPUTDEV_H
#define PRESCANOUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
#include "GfxState.h"
diff --git a/poppler/ProfileData.cc b/poppler/ProfileData.cc
index 9e5f2d3e..f8fa3310 100644
--- a/poppler/ProfileData.cc
+++ b/poppler/ProfileData.cc
@@ -9,10 +9,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "ProfileData.h"
//------------------------------------------------------------------------
diff --git a/poppler/ProfileData.h b/poppler/ProfileData.h
index 664a60b0..d51503be 100644
--- a/poppler/ProfileData.h
+++ b/poppler/ProfileData.h
@@ -10,10 +10,6 @@
#ifndef PROFILE_DATA_H
#define PROFILE_DATA_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
//------------------------------------------------------------------------
// ProfileData
//------------------------------------------------------------------------
diff --git a/poppler/SecurityHandler.cc b/poppler/SecurityHandler.cc
index d11b2016..4114a331 100644
--- a/poppler/SecurityHandler.cc
+++ b/poppler/SecurityHandler.cc
@@ -25,10 +25,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "GooString.h"
#include "PDFDoc.h"
#include "Decrypt.h"
diff --git a/poppler/SecurityHandler.h b/poppler/SecurityHandler.h
index 1b72ae41..08773a78 100644
--- a/poppler/SecurityHandler.h
+++ b/poppler/SecurityHandler.h
@@ -25,10 +25,6 @@
#include "poppler-config.h"
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index ec5f2a26..60644ecf 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -49,10 +49,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include <cmath>
#include "goo/gfile.h"
diff --git a/poppler/SplashOutputDev.h b/poppler/SplashOutputDev.h
index f655c760..0e5bef08 100644
--- a/poppler/SplashOutputDev.h
+++ b/poppler/SplashOutputDev.h
@@ -32,10 +32,6 @@
#ifndef SPLASHOUTPUTDEV_H
#define SPLASHOUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "splash/SplashTypes.h"
#include "splash/SplashPattern.h"
diff --git a/poppler/Stream.cc b/poppler/Stream.cc
index 05c1530d..8d423ca7 100644
--- a/poppler/Stream.cc
+++ b/poppler/Stream.cc
@@ -42,10 +42,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/poppler/Stream.h b/poppler/Stream.h
index 14925b08..93827a4f 100644
--- a/poppler/Stream.h
+++ b/poppler/Stream.h
@@ -35,10 +35,6 @@
#ifndef STREAM_H
#define STREAM_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <atomic>
#include <cstdio>
diff --git a/poppler/StructElement.cc b/poppler/StructElement.cc
index d87cb20c..d7e38f6d 100644
--- a/poppler/StructElement.cc
+++ b/poppler/StructElement.cc
@@ -13,10 +13,6 @@
//
//========================================================================
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "StructElement.h"
#include "StructTreeRoot.h"
#include "GlobalParams.h"
diff --git a/poppler/StructElement.h b/poppler/StructElement.h
index 0a9d6979..78ae36d3 100644
--- a/poppler/StructElement.h
+++ b/poppler/StructElement.h
@@ -13,10 +13,6 @@
#ifndef STRUCTELEMENT_H
#define STRUCTELEMENT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "goo/GooString.h"
#include "MarkedContentOutputDev.h"
diff --git a/poppler/StructTreeRoot.cc b/poppler/StructTreeRoot.cc
index 954b76a7..86404bfe 100644
--- a/poppler/StructTreeRoot.cc
+++ b/poppler/StructTreeRoot.cc
@@ -13,10 +13,6 @@
//
//========================================================================
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/GooString.h"
#include "StructTreeRoot.h"
#include "StructElement.h"
diff --git a/poppler/StructTreeRoot.h b/poppler/StructTreeRoot.h
index 75978058..3ff18580 100644
--- a/poppler/StructTreeRoot.h
+++ b/poppler/StructTreeRoot.h
@@ -14,10 +14,6 @@
#ifndef STRUCTTREEROOT_H
#define STRUCTTREEROOT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "Object.h"
#include "StructElement.h"
diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index 6c2eb7f5..a3b49d1c 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -46,10 +46,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/poppler/TextOutputDev.h b/poppler/TextOutputDev.h
index 1af11909..eea079ef 100644
--- a/poppler/TextOutputDev.h
+++ b/poppler/TextOutputDev.h
@@ -32,10 +32,6 @@
#ifndef TEXTOUTPUTDEV_H
#define TEXTOUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include <stdio.h>
#include "goo/gtypes.h"
diff --git a/poppler/UTF.h b/poppler/UTF.h
index a86c056d..5fa27827 100644
--- a/poppler/UTF.h
+++ b/poppler/UTF.h
@@ -13,10 +13,6 @@
#ifndef UTF_H
#define UTF_H
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <cstdint>
#include <climits>
diff --git a/poppler/UnicodeMap.cc b/poppler/UnicodeMap.cc
index 3b669835..38ca9f67 100644
--- a/poppler/UnicodeMap.cc
+++ b/poppler/UnicodeMap.cc
@@ -26,10 +26,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <string.h>
#include "goo/glibc.h"
diff --git a/poppler/UnicodeMap.h b/poppler/UnicodeMap.h
index 34d71d7e..48fcec16 100644
--- a/poppler/UnicodeMap.h
+++ b/poppler/UnicodeMap.h
@@ -27,10 +27,6 @@
#ifndef UNICODEMAP_H
#define UNICODEMAP_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "goo/gtypes.h"
#include "CharTypes.h"
diff --git a/poppler/XRef.cc b/poppler/XRef.cc
index 9b4b31c3..3c124d8c 100644
--- a/poppler/XRef.cc
+++ b/poppler/XRef.cc
@@ -34,10 +34,6 @@
#include <config.h>
#include "poppler-config.h"
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
diff --git a/poppler/XRef.h b/poppler/XRef.h
index 9382e9ec..2f74a2e8 100644
--- a/poppler/XRef.h
+++ b/poppler/XRef.h
@@ -32,10 +32,6 @@
#ifndef XREF_H
#define XREF_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "poppler-config.h"
#include "goo/gtypes.h"
#include "Object.h"
diff --git a/qt5/src/ArthurOutputDev.cc b/qt5/src/ArthurOutputDev.cc
index 74c90790..38473c37 100644
--- a/qt5/src/ArthurOutputDev.cc
+++ b/qt5/src/ArthurOutputDev.cc
@@ -35,10 +35,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include <math.h>
diff --git a/qt5/src/ArthurOutputDev.h b/qt5/src/ArthurOutputDev.h
index dee1f89a..c1ac37d3 100644
--- a/qt5/src/ArthurOutputDev.h
+++ b/qt5/src/ArthurOutputDev.h
@@ -30,10 +30,6 @@
#ifndef ARTHUROUTPUTDEV_H
#define ARTHUROUTPUTDEV_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <memory>
#include <map>
#include <stack>
diff --git a/splash/Splash.cc b/splash/Splash.cc
index 187b99a7..eb2c909c 100644
--- a/splash/Splash.cc
+++ b/splash/Splash.cc
@@ -28,10 +28,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <limits.h>
diff --git a/splash/Splash.h b/splash/Splash.h
index 86e7a1b4..2ce73e9f 100644
--- a/splash/Splash.h
+++ b/splash/Splash.h
@@ -25,10 +25,6 @@
#ifndef SPLASH_H
#define SPLASH_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <stddef.h>
#include "SplashTypes.h"
#include "SplashClip.h"
diff --git a/splash/SplashBitmap.cc b/splash/SplashBitmap.cc
index 8ae41ad0..e1b8bcbd 100644
--- a/splash/SplashBitmap.cc
+++ b/splash/SplashBitmap.cc
@@ -32,10 +32,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/splash/SplashBitmap.h b/splash/SplashBitmap.h
index 6ca20d3c..ee41ae67 100644
--- a/splash/SplashBitmap.h
+++ b/splash/SplashBitmap.h
@@ -32,10 +32,6 @@
#ifndef SPLASHBITMAP_H
#define SPLASHBITMAP_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
#include "poppler/GfxState.h"
#include <stdio.h>
diff --git a/splash/SplashClip.cc b/splash/SplashClip.cc
index b95ac7be..d04dcb5e 100644
--- a/splash/SplashClip.cc
+++ b/splash/SplashClip.cc
@@ -21,10 +21,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include "goo/gmem.h"
diff --git a/splash/SplashClip.h b/splash/SplashClip.h
index 5a730d8f..457502b5 100644
--- a/splash/SplashClip.h
+++ b/splash/SplashClip.h
@@ -22,10 +22,6 @@
#ifndef SPLASHCLIP_H
#define SPLASHCLIP_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
#include "SplashMath.h"
#include "SplashXPathScanner.h"
diff --git a/splash/SplashFTFont.cc b/splash/SplashFTFont.cc
index 505b66a1..b990a0b4 100644
--- a/splash/SplashFTFont.cc
+++ b/splash/SplashFTFont.cc
@@ -26,10 +26,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <ft2build.h>
#include FT_OUTLINE_H
#include FT_SIZES_H
diff --git a/splash/SplashFTFont.h b/splash/SplashFTFont.h
index 5a6ae90e..68875c49 100644
--- a/splash/SplashFTFont.h
+++ b/splash/SplashFTFont.h
@@ -26,10 +26,6 @@
#include "poppler-config.h"
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <ft2build.h>
#include FT_FREETYPE_H
#include "SplashFont.h"
diff --git a/splash/SplashFTFontEngine.cc b/splash/SplashFTFontEngine.cc
index 2ba19044..b116663d 100644
--- a/splash/SplashFTFontEngine.cc
+++ b/splash/SplashFTFontEngine.cc
@@ -24,10 +24,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
diff --git a/splash/SplashFTFontEngine.h b/splash/SplashFTFontEngine.h
index a9522eea..e53b7f3d 100644
--- a/splash/SplashFTFontEngine.h
+++ b/splash/SplashFTFontEngine.h
@@ -26,10 +26,6 @@
#ifndef SPLASHFTFONTENGINE_H
#define SPLASHFTFONTENGINE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <ft2build.h>
#include FT_FREETYPE_H
#include "goo/gtypes.h"
diff --git a/splash/SplashFTFontFile.cc b/splash/SplashFTFontFile.cc
index 91b627c2..e932195e 100644
--- a/splash/SplashFTFontFile.cc
+++ b/splash/SplashFTFontFile.cc
@@ -23,10 +23,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "goo/gmem.h"
#include "goo/GooString.h"
#include "poppler/GfxFont.h"
diff --git a/splash/SplashFTFontFile.h b/splash/SplashFTFontFile.h
index 3ff8ff71..5f0fd489 100644
--- a/splash/SplashFTFontFile.h
+++ b/splash/SplashFTFontFile.h
@@ -23,10 +23,6 @@
#ifndef SPLASHFTFONTFILE_H
#define SPLASHFTFONTFILE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <ft2build.h>
#include FT_FREETYPE_H
#include "SplashFontFile.h"
diff --git a/splash/SplashFont.cc b/splash/SplashFont.cc
index 4f3aedf5..873d97d7 100644
--- a/splash/SplashFont.cc
+++ b/splash/SplashFont.cc
@@ -20,10 +20,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <limits.h>
#include <string.h>
#include "goo/gmem.h"
diff --git a/splash/SplashFont.h b/splash/SplashFont.h
index ab3de8f1..5995e4f4 100644
--- a/splash/SplashFont.h
+++ b/splash/SplashFont.h
@@ -21,10 +21,6 @@
#ifndef SPLASHFONT_H
#define SPLASHFONT_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "SplashTypes.h"
#include "SplashClip.h"
diff --git a/splash/SplashFontEngine.cc b/splash/SplashFontEngine.cc
index d9f5118c..8775aeb8 100644
--- a/splash/SplashFontEngine.cc
+++ b/splash/SplashFontEngine.cc
@@ -27,10 +27,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <stdio.h>
#ifdef HAVE_UNISTD_H
diff --git a/splash/SplashFontEngine.h b/splash/SplashFontEngine.h
index 3e8a7545..93acaa9f 100644
--- a/splash/SplashFontEngine.h
+++ b/splash/SplashFontEngine.h
@@ -26,10 +26,6 @@
#ifndef SPLASHFONTENGINE_H
#define SPLASHFONTENGINE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <array>
#include "goo/gtypes.h"
diff --git a/splash/SplashFontFile.cc b/splash/SplashFontFile.cc
index fd46db0a..20209fb9 100644
--- a/splash/SplashFontFile.cc
+++ b/splash/SplashFontFile.cc
@@ -21,10 +21,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
diff --git a/splash/SplashFontFile.h b/splash/SplashFontFile.h
index f76538f0..6969803a 100644
--- a/splash/SplashFontFile.h
+++ b/splash/SplashFontFile.h
@@ -22,10 +22,6 @@
#ifndef SPLASHFONTFILE_H
#define SPLASHFONTFILE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
#include "SplashTypes.h"
diff --git a/splash/SplashFontFileID.cc b/splash/SplashFontFileID.cc
index a66dabf6..6c3b7c04 100644
--- a/splash/SplashFontFileID.cc
+++ b/splash/SplashFontFileID.cc
@@ -6,10 +6,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "SplashFontFileID.h"
//------------------------------------------------------------------------
diff --git a/splash/SplashFontFileID.h b/splash/SplashFontFileID.h
index 7ed28d6b..1b0594dd 100644
--- a/splash/SplashFontFileID.h
+++ b/splash/SplashFontFileID.h
@@ -21,10 +21,6 @@
#ifndef SPLASHFONTFILEID_H
#define SPLASHFONTFILEID_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "goo/gtypes.h"
//------------------------------------------------------------------------
diff --git a/splash/SplashPath.cc b/splash/SplashPath.cc
index ba463fc6..b48decce 100644
--- a/splash/SplashPath.cc
+++ b/splash/SplashPath.cc
@@ -22,10 +22,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include "goo/gmem.h"
#include "goo/GooLikely.h"
diff --git a/splash/SplashPath.h b/splash/SplashPath.h
index 96dbb6e0..be3840ae 100644
--- a/splash/SplashPath.h
+++ b/splash/SplashPath.h
@@ -22,10 +22,6 @@
#ifndef SPLASHPATH_H
#define SPLASHPATH_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
//------------------------------------------------------------------------
diff --git a/splash/SplashPattern.cc b/splash/SplashPattern.cc
index 28ca4995..c090a06e 100644
--- a/splash/SplashPattern.cc
+++ b/splash/SplashPattern.cc
@@ -20,10 +20,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include "SplashMath.h"
#include "SplashScreen.h"
#include "SplashPattern.h"
diff --git a/splash/SplashPattern.h b/splash/SplashPattern.h
index 8464d529..36674ac7 100644
--- a/splash/SplashPattern.h
+++ b/splash/SplashPattern.h
@@ -22,10 +22,6 @@
#ifndef SPLASHPATTERN_H
#define SPLASHPATTERN_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
class SplashScreen;
diff --git a/splash/SplashScreen.cc b/splash/SplashScreen.cc
index ff917a81..615fdd2b 100644
--- a/splash/SplashScreen.cc
+++ b/splash/SplashScreen.cc
@@ -21,10 +21,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <algorithm>
diff --git a/splash/SplashScreen.h b/splash/SplashScreen.h
index b8fe7940..c3bfe2ef 100644
--- a/splash/SplashScreen.h
+++ b/splash/SplashScreen.h
@@ -21,10 +21,6 @@
#ifndef SPLASHSCREEN_H
#define SPLASHSCREEN_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
#include <stdlib.h>
diff --git a/splash/SplashState.cc b/splash/SplashState.cc
index 882a7e16..85b7a6f6 100644
--- a/splash/SplashState.cc
+++ b/splash/SplashState.cc
@@ -21,10 +21,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <string.h>
#include "goo/gmem.h"
#include "SplashPattern.h"
diff --git a/splash/SplashState.h b/splash/SplashState.h
index 5ba96a91..408aea5b 100644
--- a/splash/SplashState.h
+++ b/splash/SplashState.h
@@ -23,10 +23,6 @@
#ifndef SPLASHSTATE_H
#define SPLASHSTATE_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
class SplashPattern;
diff --git a/splash/SplashXPath.cc b/splash/SplashXPath.cc
index 47f3f1dd..44c09f51 100644
--- a/splash/SplashXPath.cc
+++ b/splash/SplashXPath.cc
@@ -23,10 +23,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <algorithm>
diff --git a/splash/SplashXPath.h b/splash/SplashXPath.h
index 7abb18b6..55423d4c 100644
--- a/splash/SplashXPath.h
+++ b/splash/SplashXPath.h
@@ -22,10 +22,6 @@
#ifndef SPLASHXPATH_H
#define SPLASHXPATH_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
class SplashPath;
diff --git a/splash/SplashXPathScanner.cc b/splash/SplashXPathScanner.cc
index b1121693..6954a2c8 100644
--- a/splash/SplashXPathScanner.cc
+++ b/splash/SplashXPathScanner.cc
@@ -22,10 +22,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdlib.h>
#include <string.h>
#include <algorithm>
diff --git a/splash/SplashXPathScanner.h b/splash/SplashXPathScanner.h
index 427448af..66aeb190 100644
--- a/splash/SplashXPathScanner.h
+++ b/splash/SplashXPathScanner.h
@@ -22,10 +22,6 @@
#ifndef SPLASHXPATHSCANNER_H
#define SPLASHXPATHSCANNER_H
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include "SplashTypes.h"
#include <vector>
diff --git a/test/gtk-test.cc b/test/gtk-test.cc
index ec8a9eb6..44136456 100644
--- a/test/gtk-test.cc
+++ b/test/gtk-test.cc
@@ -1,9 +1,5 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <goo/gmem.h>
#include <splash/SplashTypes.h>
#include <splash/SplashBitmap.h>
diff --git a/test/pdf-inspector.cc b/test/pdf-inspector.cc
index bbcd1276..1314858e 100644
--- a/test/pdf-inspector.cc
+++ b/test/pdf-inspector.cc
@@ -9,10 +9,6 @@
#include <config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <goo/gmem.h>
#include <goo/GooTimer.h>
#include <splash/SplashTypes.h>
diff --git a/utils/HtmlOutputDev.cc b/utils/HtmlOutputDev.cc
index 2d2f92a9..e265eaa0 100644
--- a/utils/HtmlOutputDev.cc
+++ b/utils/HtmlOutputDev.cc
@@ -48,10 +48,6 @@
//
//========================================================================
-#ifdef __GNUC__
-#pragma implementation
-#endif
-
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
diff --git a/utils/HtmlOutputDev.h b/utils/HtmlOutputDev.h
index 1b44c05c..04d7d9fe 100644
--- a/utils/HtmlOutputDev.h
+++ b/utils/HtmlOutputDev.h
@@ -34,10 +34,6 @@
#ifndef HTMLOUTPUTDEV_H
#define HTMLOUTPUTDEV_H
-#ifdef __GNUC__
-#pragma interface
-#endif
-
#include <stdio.h>
#include "goo/gtypes.h"
#include "goo/GooList.h"
diff --git a/utils/ImageOutputDev.cc b/utils/ImageOutputDev.cc
index e96f774d..2e99cb5e 100644
--- a/utils/ImageOutputDev.cc
+++ b/utils/ImageOutputDev.cc
@@ -34,10 +34,6 @@
#include "config.h"
#include <poppler-config.h>
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/utils/ImageOutputDev.h b/utils/ImageOutputDev.h
index 310d3bd1..74e6b320 100644
--- a/utils/ImageOutputDev.h
+++ b/utils/ImageOutputDev.h
@@ -30,10 +30,6 @@
#include "poppler/poppler-config.h"
-#ifdef USE_GCC_PRAGMAS
-#pragma interface
-#endif
-
#include <stdio.h>
#include "goo/gtypes.h"
#include "goo/ImgWriter.h"
commit e1501603b6f043a40586ff0babf34980a6f03b15
Author: Adam Reichold <adam.reichold at t-online.de>
Date: Tue Oct 9 21:36:57 2018 +0200
Remove unused function in Decrypt translation unit.
diff --git a/poppler/Decrypt.cc b/poppler/Decrypt.cc
index 12382bf8..ce96b547 100644
--- a/poppler/Decrypt.cc
+++ b/poppler/Decrypt.cc
@@ -1480,9 +1480,6 @@ static const uint64_t shaK[80] = {
static inline uint64_t rotr(uint64_t x, uint64_t n) {
return (x >> n) | (x << (64 - n));
}
-static inline uint64_t rotl(uint64_t x, uint64_t n){
- return (x << n) | (x >> (64 - n));
-}
static inline uint64_t sha512Ch(uint64_t x, uint64_t y, uint64_t z) {
return (x & y) ^ (~x & z);
}
commit cc95433be9d3eee28e701069bbd0d63b7a585dbb
Author: Adam Reichold <adam.reichold at t-online.de>
Date: Tue Oct 9 21:36:09 2018 +0200
Remove unused debuggging function in CairoOutputDev translation unit.
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index fc036263..b1d6be2e 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -81,12 +81,6 @@
#define LOG(x)
#endif
-static inline void printMatrix(cairo_matrix_t *matrix){
- printf("%f %f, %f %f (%f %f)\n", matrix->xx, matrix->yx,
- matrix->xy, matrix->yy,
- matrix->x0, matrix->y0);
-}
-
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#define MAX(a,b) (((a) > (b)) ? (a) : (b))
@@ -1654,7 +1648,6 @@ void CairoOutputDev::beginTransparencyGroup(GfxState * /*state*/, const double *
cairo_set_source_rgb (cairo_shape, 0, 0, 0);
cairo_matrix_t matrix;
cairo_get_matrix (cairo, &matrix);
- //printMatrix(&matrix);
cairo_set_matrix (cairo_shape, &matrix);
}
}
More information about the poppler
mailing list