From 7f571083e35bc4056515f64c7adb7325f1a27b57 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Thu, 2 Nov 2017 19:17:18 +0000 Subject: Remove default values from CJX_Node::{Set|Try}Enum This CL removes the default value and inlines into the call sites. Change-Id: Ib6bc2b27189be3596e83a8b29b7a6a744278ed34 Reviewed-on: https://pdfium-review.googlesource.com/17570 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- fxjs/cjx_node.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'fxjs') diff --git a/fxjs/cjx_node.h b/fxjs/cjx_node.h index 7256e31c19..66893f2d3d 100644 --- a/fxjs/cjx_node.h +++ b/fxjs/cjx_node.h @@ -96,10 +96,8 @@ class CJX_Node : public CJX_Object { bool TryEnum(XFA_ATTRIBUTE eAttr, XFA_ATTRIBUTEENUM& eValue, - bool bUseDefault = true); - bool SetEnum(XFA_ATTRIBUTE eAttr, - XFA_ATTRIBUTEENUM eValue, - bool bNotify = false); + bool bUseDefault); + bool SetEnum(XFA_ATTRIBUTE eAttr, XFA_ATTRIBUTEENUM eValue, bool bNotify); XFA_ATTRIBUTEENUM GetEnum(XFA_ATTRIBUTE eAttr); bool TryBoolean(XFA_ATTRIBUTE eAttr, bool& bValue, bool bUseDefault = true); -- cgit v1.2.3