summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-17 00:29:04 +0000
committerKarl Berry <karl@freefriends.org>2008-07-17 00:29:04 +0000
commitde88057afe15c3a37d020e41f82a52a302de0775 (patch)
tree1cefc0bf980cbe56857bb16723d81ad0954164cd
parentde4f9fb8a5decfc9b6fc8274f57a2a99fede9e5d (diff)
(PDFDoc) [!DISABLE_OUTLINE] (dummy): new member in
this case to keep the structure size the same regardless of the conditional. From Martin, tex-live mail 17 Jul 2008 00:46:03. git-svn-id: svn://tug.org/texlive/trunk@9615 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/libs/xpdf/xpdf/PDFDoc.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/libs/xpdf/xpdf/PDFDoc.h b/Build/source/libs/xpdf/xpdf/PDFDoc.h
index 208b61efa97..b3b44e7306f 100644
--- a/Build/source/libs/xpdf/xpdf/PDFDoc.h
+++ b/Build/source/libs/xpdf/xpdf/PDFDoc.h
@@ -171,13 +171,15 @@ private:
double pdfVersion;
XRef *xref;
Catalog *catalog;
+ GBool ok;
+ int errCode;
+/* Keep the size of the structure the same whether DISABLE_OUTLINE or
+ not, and put it last to try to find errors more quickly. */
#ifndef DISABLE_OUTLINE
Outline *outline;
+#else
+ void *dummy;
#endif
-
-
- GBool ok;
- int errCode;
};
#endif