From 521b7508dfe8ab93975eeb9f4ef8068012c4dbd8 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Wed, 2 Nov 2016 13:02:28 -0700 Subject: Rename CPDFXFA_Document to CPDFXFA_Context The CPDFXFA_Document class isn't a document, it contains documents. Renamed to make the purpose a bit clearer. Review-Url: https://codereview.chromium.org/2469813004 --- fpdfsdk/fsdk_define.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fpdfsdk/fsdk_define.h') diff --git a/fpdfsdk/fsdk_define.h b/fpdfsdk/fsdk_define.h index aeb42d2d11..e5a287fac6 100644 --- a/fpdfsdk/fsdk_define.h +++ b/fpdfsdk/fsdk_define.h @@ -12,7 +12,7 @@ #include "public/fpdfview.h" #ifdef PDF_ENABLE_XFA -#include "fpdfsdk/fpdfxfa/cpdfxfa_document.h" +#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h" #endif // PDF_ENABLE_XFA #ifdef _WIN32 @@ -71,7 +71,7 @@ class CFPDF_FileStream : public IFX_SeekableStream { using UnderlyingDocumentType = CPDF_Document; using UnderlyingPageType = CPDF_Page; #else // PDF_ENABLE_XFA -using UnderlyingDocumentType = CPDFXFA_Document; +using UnderlyingDocumentType = CPDFXFA_Context; using UnderlyingPageType = CPDFXFA_Page; #endif // PDF_ENABLE_XFA -- cgit v1.2.3