summaryrefslogtreecommitdiff
path: root/fpdfsdk/src/fsdk_mgr.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-24 15:58:06 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-24 15:58:06 -0800
commitd3116dc173ab3e798b056e008c0cb68f69acdca7 (patch)
tree6a04c92c71ad6f231a030ba33d65eebffdb61c7c /fpdfsdk/src/fsdk_mgr.cpp
parentc98895c6a9d0809c2780f5180fa8054eeba04b2b (diff)
downloadpdfium-d3116dc173ab3e798b056e008c0cb68f69acdca7.tar.xz
XFA: DYNIMIC is spelled DYNAMIC
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1473053003 .
Diffstat (limited to 'fpdfsdk/src/fsdk_mgr.cpp')
-rw-r--r--fpdfsdk/src/fsdk_mgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fpdfsdk/src/fsdk_mgr.cpp b/fpdfsdk/src/fsdk_mgr.cpp
index b05fd128a1..27cfe514c8 100644
--- a/fpdfsdk/src/fsdk_mgr.cpp
+++ b/fpdfsdk/src/fsdk_mgr.cpp
@@ -643,7 +643,7 @@ void CPDFSDK_PageView::PageView_OnDraw(CFX_RenderDevice* pDevice,
return;
#ifdef PDF_ENABLE_XFA
- if (pPage->GetDocument()->GetDocType() == DOCTYPE_DYNIMIC_XFA) {
+ if (pPage->GetDocument()->GetDocType() == DOCTYPE_DYNAMIC_XFA) {
CFX_Graphics gs;
gs.Create(pDevice);
CFX_RectF rectClip;
@@ -792,7 +792,7 @@ FX_BOOL CPDFSDK_PageView::DeleteAnnot(CPDFSDK_Annot* pAnnot) {
return FALSE;
CPDFXFA_Page* pPage = pAnnot->GetPDFXFAPage();
if (!pPage || (pPage->GetDocument()->GetDocType() != DOCTYPE_STATIC_XFA &&
- pPage->GetDocument()->GetDocType() != DOCTYPE_DYNIMIC_XFA))
+ pPage->GetDocument()->GetDocType() != DOCTYPE_DYNAMIC_XFA))
return FALSE;
auto it = std::find(m_fxAnnotArray.begin(), m_fxAnnotArray.end(), pAnnot);
@@ -990,7 +990,7 @@ void CPDFSDK_PageView::LoadFXAnnots() {
SetLock(TRUE);
m_page->AddRef();
- if (m_pSDKDoc->GetXFADocument()->GetDocType() == DOCTYPE_DYNIMIC_XFA) {
+ if (m_pSDKDoc->GetXFADocument()->GetDocType() == DOCTYPE_DYNAMIC_XFA) {
IXFA_PageView* pageView = NULL;
pageView = m_page->GetXFAPageView();
ASSERT(pageView != NULL);