X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=pdf%2Fxpdf%2FPBMOutputDev.cc;h=dde860a1e4b80f9540ebd84d53fbdf7af7276d5d;hb=7c5ab64d4db75e4bb6dadedb578e10178554d0db;hp=57782447f993d87f7f015ad8310bbc5e9dd7e655;hpb=2a393c134fe3fe8eb85bf818cb7ad6ae4396322a;p=evince.git diff --git a/pdf/xpdf/PBMOutputDev.cc b/pdf/xpdf/PBMOutputDev.cc index 57782447..dde860a1 100644 --- a/pdf/xpdf/PBMOutputDev.cc +++ b/pdf/xpdf/PBMOutputDev.cc @@ -2,15 +2,16 @@ // // PBMOutputDev.cc // -// Copyright 1998-2002 Glyph & Cog, LLC +// Copyright 1998-2003 Glyph & Cog, LLC // //======================================================================== -#ifdef __GNUC__ +#include + +#ifdef USE_GCC_PRAGMAS #pragma implementation #endif -#include #include #include #include @@ -82,10 +83,12 @@ void PBMOutputDev::killPBMOutputDev(PBMOutputDev *out) { PBMOutputDev::PBMOutputDev(Display *displayA, int screenA, Pixmap pixmapA, Window dummyWinA, int invertA, char *fileRootA): - XOutputDev(displayA, pixmapA, 1, - DefaultColormap(displayA, screenA), gFalse, + XOutputDev(displayA, screenA, + DefaultVisual(displayA, screenA), + DefaultColormap(displayA, screenA), + gFalse, WhitePixel(displayA, DefaultScreen(displayA)), - gFalse, 1) + gFalse, 1, 1) { display = displayA; screen = screenA;