[poppler] poppler/SplashOutputDev.cc poppler/SplashOutputDev.h
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Jan 17 16:27:05 UTC 2020
poppler/SplashOutputDev.cc | 1 -
poppler/SplashOutputDev.h | 7 +------
2 files changed, 1 insertion(+), 7 deletions(-)
New commits:
commit f7c420c2859ec6774480e237d5a87af7e8807726
Author: Albert Astals Cid <aacid at kde.org>
Date: Fri Jan 17 17:21:37 2020 +0100
Remove unused SplashOutputDev::setBitmapUpsideDown
diff --git a/poppler/SplashOutputDev.cc b/poppler/SplashOutputDev.cc
index 9b28ac09..7208f5af 100644
--- a/poppler/SplashOutputDev.cc
+++ b/poppler/SplashOutputDev.cc
@@ -1248,7 +1248,6 @@ SplashOutputDev::SplashOutputDev(SplashColorMode colorModeA,
colorMode = colorModeA;
bitmapRowPad = bitmapRowPadA;
bitmapTopDown = bitmapTopDownA;
- bitmapUpsideDown = false;
fontAntialias = true;
vectorAntialias = true;
overprintPreview = overprintPreviewA;
diff --git a/poppler/SplashOutputDev.h b/poppler/SplashOutputDev.h
index a342164d..bbf9e03f 100644
--- a/poppler/SplashOutputDev.h
+++ b/poppler/SplashOutputDev.h
@@ -215,7 +215,7 @@ public:
// Does this device use upside-down coordinates?
// (Upside-down means (0,0) is the top left corner of the page.)
- bool upsideDown() override { return bitmapTopDown ^ bitmapUpsideDown; }
+ bool upsideDown() override { return bitmapTopDown; }
// Does this device use drawChar() or drawString()?
bool useDrawChar() override { return true; }
@@ -358,10 +358,6 @@ public:
// caller.
SplashBitmap *takeBitmap();
- // Set this flag to true to generate an upside-down bitmap (useful
- // for Windows BMP files).
- void setBitmapUpsideDown(bool f) { bitmapUpsideDown = f; }
-
// Get the Splash object.
Splash *getSplash() { return splash; }
@@ -424,7 +420,6 @@ private:
SplashColorMode colorMode;
int bitmapRowPad;
bool bitmapTopDown;
- bool bitmapUpsideDown;
bool fontAntialias;
bool vectorAntialias;
bool overprintPreview;
More information about the poppler
mailing list