summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/cxfa_loadercontext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/app/cxfa_loadercontext.cpp')
-rw-r--r--xfa/fxfa/app/cxfa_loadercontext.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/xfa/fxfa/app/cxfa_loadercontext.cpp b/xfa/fxfa/app/cxfa_loadercontext.cpp
new file mode 100644
index 0000000000..56ac71bfb4
--- /dev/null
+++ b/xfa/fxfa/app/cxfa_loadercontext.cpp
@@ -0,0 +1,22 @@
+// Copyright 2017 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#include "xfa/fxfa/app/cxfa_loadercontext.h"
+
+CXFA_LoaderContext::CXFA_LoaderContext()
+ : m_bSaveLineHeight(false),
+ m_fWidth(0),
+ m_fHeight(0),
+ m_fLastPos(0),
+ m_fStartLineOffset(0),
+ m_iChar(0),
+ m_iTotalLines(-1),
+ m_pXMLNode(nullptr),
+ m_pNode(nullptr),
+ m_pParentStyle(nullptr),
+ m_dwFlags(0) {}
+
+CXFA_LoaderContext::~CXFA_LoaderContext() {}