diff options
Diffstat (limited to 'Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc')
-rw-r--r-- | Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc b/Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc index 2c2db13fa4d..5a694d7b665 100644 --- a/Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc +++ b/Build/source/libs/xpdf/xpdf-src/xpdf/ImageOutputDev.cc @@ -8,6 +8,10 @@ #include <aconf.h> +#ifdef USE_GCC_PRAGMAS +#pragma implementation +#endif + #include <stdio.h> #include <stdlib.h> #include <stddef.h> @@ -18,7 +22,6 @@ #include "config.h" #include "Error.h" #include "GfxState.h" -#include "Gfx.h" #include "Object.h" #include "Stream.h" #include "ImageOutputDev.h" @@ -49,8 +52,7 @@ void ImageOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx, double *mat, double *bbox, int x0, int y0, int x1, int y1, double xStep, double yStep) { - // draw the tile once, just in case it contains image(s) - gfx->drawForm(strRef, resDict, mat, bbox); + // do nothing -- this avoids the potentially slow loop in Gfx.cc } void ImageOutputDev::drawImageMask(GfxState *state, Object *ref, Stream *str, |