summaryrefslogtreecommitdiff
path: root/xfa/src/fxfa/src/fm2js/xfa_program.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/src/fxfa/src/fm2js/xfa_program.h')
-rw-r--r--xfa/src/fxfa/src/fm2js/xfa_program.h29
1 files changed, 13 insertions, 16 deletions
diff --git a/xfa/src/fxfa/src/fm2js/xfa_program.h b/xfa/src/fxfa/src/fm2js/xfa_program.h
index 2e8149e543..7dfa727af0 100644
--- a/xfa/src/fxfa/src/fm2js/xfa_program.h
+++ b/xfa/src/fxfa/src/fm2js/xfa_program.h
@@ -6,21 +6,18 @@
#ifndef _XFA_FM_PROGRAM_H
#define _XFA_FM_PROGRAM_H
-class CXFA_FMProgram
-{
-public:
- CXFA_FMProgram();
- ~CXFA_FMProgram();
- int32_t Init(const CFX_WideStringC& wsFormcalc);
- int32_t ParseProgram();
- int32_t TranslateProgram(CFX_WideTextBuf &wsJavaScript);
- CXFA_FMErrorInfo& GetError()
- {
- return m_pErrorInfo;
- }
-private:
- CXFA_FMErrorInfo m_pErrorInfo;
- CXFA_FMParse m_parse;
- CXFA_FMFunctionDefinition *m_globalFunction;
+class CXFA_FMProgram {
+ public:
+ CXFA_FMProgram();
+ ~CXFA_FMProgram();
+ int32_t Init(const CFX_WideStringC& wsFormcalc);
+ int32_t ParseProgram();
+ int32_t TranslateProgram(CFX_WideTextBuf& wsJavaScript);
+ CXFA_FMErrorInfo& GetError() { return m_pErrorInfo; }
+
+ private:
+ CXFA_FMErrorInfo m_pErrorInfo;
+ CXFA_FMParse m_parse;
+ CXFA_FMFunctionDefinition* m_globalFunction;
};
#endif