From 991f61869cfba58206cc7ec038fe8d5305bbb2ba Mon Sep 17 00:00:00 2001 From: Nicolas Pena Date: Thu, 1 Dec 2016 15:15:49 -0500 Subject: Move Init to constructor in CXFA_FMProgram MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I6b2d1a5b06211b32f3053aad4d7ae7501ec8d8f6 Reviewed-on: https://pdfium-review.googlesource.com/2093 Commit-Queue: Nicolás Peña Reviewed-by: Tom Sepez --- xfa/fxfa/fm2js/xfa_program.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'xfa/fxfa/fm2js/xfa_program.h') diff --git a/xfa/fxfa/fm2js/xfa_program.h b/xfa/fxfa/fm2js/xfa_program.h index aa29bba87b..7a2dade6fd 100644 --- a/xfa/fxfa/fm2js/xfa_program.h +++ b/xfa/fxfa/fm2js/xfa_program.h @@ -14,10 +14,9 @@ class CXFA_FMProgram { public: - CXFA_FMProgram(); + explicit CXFA_FMProgram(const CFX_WideStringC& wsFormcalc); ~CXFA_FMProgram(); - int32_t Init(const CFX_WideStringC& wsFormcalc); int32_t ParseProgram(); int32_t TranslateProgram(CFX_WideTextBuf& wsJavaScript); -- cgit v1.2.3