summaryrefslogtreecommitdiff
path: root/xfa/src/fee
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-11-05 08:46:13 -0800
committerTom Sepez <tsepez@chromium.org>2015-11-05 08:46:13 -0800
commit5570d23890cc7bae4903a29fbcf8ac543ba1a2c7 (patch)
tree9077948b2f9c187ecc3df125e79a1610db5ce1b7 /xfa/src/fee
parentcd39695e618374ae0cfb4d3467602fd9a5365c55 (diff)
downloadpdfium-5570d23890cc7bae4903a29fbcf8ac543ba1a2c7.tar.xz
Fix XFA compilation warnings, part 2
Mostly unused variables, unused private members, or initialization order. Added a few missing initializers for pointer members along the way. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1414903004 .
Diffstat (limited to 'xfa/src/fee')
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtbuf.cpp1
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtbuf.h1
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtpage.cpp1
-rw-r--r--xfa/src/fee/src/fee/fde_txtedtpage.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/xfa/src/fee/src/fee/fde_txtedtbuf.cpp b/xfa/src/fee/src/fee/fde_txtedtbuf.cpp
index cedc5b2517..53aef2ba03 100644
--- a/xfa/src/fee/src/fee/fde_txtedtbuf.cpp
+++ b/xfa/src/fee/src/fee/fde_txtedtbuf.cpp
@@ -22,7 +22,6 @@ CFDE_TxtEdtBufIter::CFDE_TxtEdtBufIter(CFDE_TxtEdtBuf* pBuf, FX_WCHAR wcAlias)
m_nCurChunk(0),
m_nCurIndex(0),
m_nIndex(0),
- m_bInField(FALSE),
#ifdef FDE_USEFORMATBLOCK
m_bForDisplay(bForDisplay),
m_nAliasCount(0),
diff --git a/xfa/src/fee/src/fee/fde_txtedtbuf.h b/xfa/src/fee/src/fee/fde_txtedtbuf.h
index 2953be2816..87aa1c6b62 100644
--- a/xfa/src/fee/src/fee/fde_txtedtbuf.h
+++ b/xfa/src/fee/src/fee/fde_txtedtbuf.h
@@ -33,7 +33,6 @@ class CFDE_TxtEdtBufIter : public IFX_CharIter {
int32_t m_nCurChunk;
int32_t m_nCurIndex;
int32_t m_nIndex;
- FX_BOOL m_bInField;
#ifdef FDE_USEFORMATBLOCK
FX_BOOL m_bForDisplay;
int32_t m_nAliasCount;
diff --git a/xfa/src/fee/src/fee/fde_txtedtpage.cpp b/xfa/src/fee/src/fee/fde_txtedtpage.cpp
index d6ec7df252..8c9b7439f1 100644
--- a/xfa/src/fee/src/fee/fde_txtedtpage.cpp
+++ b/xfa/src/fee/src/fee/fde_txtedtpage.cpp
@@ -132,7 +132,6 @@ CFDE_TxtEdtPage::CFDE_TxtEdtPage(IFDE_TxtEdtEngine* pEngine, int32_t nPageIndex)
m_nCharCount(0),
m_nPageIndex(nPageIndex),
m_bLoaded(FALSE),
- m_bLastPage(FALSE),
m_pCharWidth(nullptr) {
FXSYS_memset(&m_rtPage, 0, sizeof(CFX_RectF));
FXSYS_memset(&m_rtPageMargin, 0, sizeof(CFX_RectF));
diff --git a/xfa/src/fee/src/fee/fde_txtedtpage.h b/xfa/src/fee/src/fee/fde_txtedtpage.h
index 67e2e982b9..1935b30f26 100644
--- a/xfa/src/fee/src/fee/fde_txtedtpage.h
+++ b/xfa/src/fee/src/fee/fde_txtedtpage.h
@@ -145,7 +145,6 @@ class CFDE_TxtEdtPage : public IFDE_TxtEdtPage {
int32_t m_nCharCount;
int32_t m_nPageIndex;
FX_BOOL m_bLoaded;
- FX_BOOL m_bLastPage;
CFX_RectF m_rtPage;
CFX_RectF m_rtPageMargin;
CFX_RectF m_rtPageContents;