summaryrefslogtreecommitdiff
path: root/fxjs/xfa/cjx_layoutpseudomodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/xfa/cjx_layoutpseudomodel.cpp')
-rw-r--r--fxjs/xfa/cjx_layoutpseudomodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxjs/xfa/cjx_layoutpseudomodel.cpp b/fxjs/xfa/cjx_layoutpseudomodel.cpp
index 4165a36e57..e3e0fea5f9 100644
--- a/fxjs/xfa/cjx_layoutpseudomodel.cpp
+++ b/fxjs/xfa/cjx_layoutpseudomodel.cpp
@@ -163,7 +163,7 @@ CJS_Return CJX_LayoutPseudoModel::NumberedPageCount(CJS_V8* runtime,
continue;
CXFA_Node* pMasterPage = pLayoutPage->GetMasterPage();
- if (pMasterPage->JSNode()->GetInteger(XFA_Attribute::Numbered))
+ if (pMasterPage->JSObject()->GetInteger(XFA_Attribute::Numbered))
iPageCount++;
}
} else {