summaryrefslogtreecommitdiff
path: root/fxjs
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-02 19:06:57 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-02 19:06:57 +0000
commitb31433fdaf92a15edfd920043aea5293ccc7e73e (patch)
tree4ed220a54e4405f2b872e7a9a105cfd8ec0ee00c /fxjs
parent7261c277173ad6ea589d2df6ef20f876c2798be4 (diff)
downloadpdfium-b31433fdaf92a15edfd920043aea5293ccc7e73e.tar.xz
Remove default value from CJX_Node::TryInteger
This CL removes the default param from TryInteger and inlines into the call sites. Change-Id: If3325c717a1127d4dcf665a12980925877988a9c Reviewed-on: https://pdfium-review.googlesource.com/17531 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fxjs')
-rw-r--r--fxjs/cjx_node.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h
index 963cf0de4e..ea66f13ed8 100644
--- a/fxjs/cjx_node.h
+++ b/fxjs/cjx_node.h
@@ -80,9 +80,7 @@ class CJX_Node : public CJX_Object {
bool bSyncData);
WideString GetContent();
- bool TryInteger(XFA_ATTRIBUTE eAttr,
- int32_t& iValue,
- bool bUseDefault = true);
+ bool TryInteger(XFA_ATTRIBUTE eAttr, int32_t& iValue, bool bUseDefault);
bool SetInteger(XFA_ATTRIBUTE eAttr, int32_t iValue, bool bNotify = false);
int32_t GetInteger(XFA_ATTRIBUTE eAttr);