From 497c0e42d91d78837ddca8906bf7246c93654d41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Sat, 22 Dec 2018 00:25:44 +0100 Subject: [PATCH] Use bool instead of GBool --- texk/web2c/pdftexdir/pdftoepdf-poppler0.68.0.cc | 6 +++--- texk/web2c/pdftexdir/pdftoepdf-poppler0.69.0.cc | 6 +++--- texk/web2c/pdftexdir/pdftoepdf-poppler0.70.0.cc | 6 +++--- texk/web2c/pdftexdir/pdftosrc.cc | 4 ++-- 4 files changed, 11 insertions(+), 11 deletions(-) --- a/texk/web2c/pdftexdir/pdftoepdf-poppler0.68.0.cc +++ b/texk/web2c/pdftexdir/pdftoepdf-poppler0.68.0.cc 2019-05-13 08:46:30.531477531 +0000 @@ -120,7 +120,7 @@ struct UsedEncoding { static InObj *inObjList; static UsedEncoding *encodingList; -static GBool isInit = gFalse; +static bool isInit = false; // -------------------------------------------------------------------- // Maintain list of open embedded PDF files @@ -724,8 +724,8 @@ read_pdf_info(char *image_name, char *pa // initialize if (!isInit) { globalParams = new GlobalParams(); - globalParams->setErrQuiet(gFalse); - isInit = gTrue; + globalParams->setErrQuiet(false); + isInit = true; } // open PDF file pdf_doc = find_add_document(image_name); --- a/texk/web2c/pdftexdir/pdftoepdf-poppler0.69.0.cc +++ b/texk/web2c/pdftexdir/pdftoepdf-poppler0.69.0.cc 2019-05-13 08:46:38.347329153 +0000 @@ -120,7 +120,7 @@ struct UsedEncoding { static InObj *inObjList; static UsedEncoding *encodingList; -static GBool isInit = gFalse; +static bool isInit = false; // -------------------------------------------------------------------- // Maintain list of open embedded PDF files @@ -724,8 +724,8 @@ read_pdf_info(char *image_name, char *pa // initialize if (!isInit) { globalParams = new GlobalParams(); - globalParams->setErrQuiet(gFalse); - isInit = gTrue; + globalParams->setErrQuiet(false); + isInit = true; } // open PDF file pdf_doc = find_add_document(image_name); --- a/texk/web2c/pdftexdir/pdftoepdf-poppler0.70.0.cc +++ b/texk/web2c/pdftexdir/pdftoepdf-poppler0.70.0.cc 2019-05-13 08:46:45.075201428 +0000 @@ -120,7 +120,7 @@ struct UsedEncoding { static InObj *inObjList; static UsedEncoding *encodingList; -static GBool isInit = gFalse; +static bool isInit = false; // -------------------------------------------------------------------- // Maintain list of open embedded PDF files @@ -724,8 +724,8 @@ read_pdf_info(char *image_name, char *pa // initialize if (!isInit) { globalParams = new GlobalParams(); - globalParams->setErrQuiet(gFalse); - isInit = gTrue; + globalParams->setErrQuiet(false); + isInit = true; } // open PDF file pdf_doc = find_add_document(image_name); diff --git a/texk/web2c/pdftexdir/pdftosrc.cc b/texk/web2c/pdftexdir/pdftosrc.cc index 3b1d250..7dbee00 100644 --- a/texk/web2c/pdftexdir/pdftosrc-newpoppler.cc +++ b/texk/web2c/pdftexdir/pdftosrc-newpoppler.cc @@ -174,9 +174,9 @@ int main(int argc, char *argv[]) // parse the header: object numbers and offsets objStr.streamReset(); - str = new EmbedStream(objStr.getStream(), Object(objNull), gTrue, first); + str = new EmbedStream(objStr.getStream(), Object(objNull), true, first); lexer = new Lexer(xref, str); - parser = new Parser(xref, lexer, gFalse); + parser = new Parser(xref, lexer, false); for (n = 0; n < nObjects; ++n) { obj1 = parser->getObj(); obj2 = parser->getObj(); -- 2.19.2