summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_textstate.cpp
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2016-10-05 13:43:25 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-05 13:43:25 -0700
commite883afcab15b17769bda0a1aac0f540568df3368 (patch)
tree6b86eded90bc816a985a9de87f7429e0f19ff38e /core/fpdfapi/page/cpdf_textstate.cpp
parentb69a98cf50537130f88ce3a799117f2ca8353ac5 (diff)
downloadpdfium-e883afcab15b17769bda0a1aac0f540568df3368.tar.xz
Removed unused stuff, some FX_BOOL, and cleanup pageint.h a bit
- Remove some unused stuff from pageint.h. - Replace some FX_BOOL with bool in pageint.h, and related. - Replace some "protected" with "private" in pageint.h. - Move 2 methods into namespace in fpdf_page_parser_old.cpp. Review-Url: https://codereview.chromium.org/2399573002
Diffstat (limited to 'core/fpdfapi/page/cpdf_textstate.cpp')
-rw-r--r--core/fpdfapi/page/cpdf_textstate.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/fpdfapi/page/cpdf_textstate.cpp b/core/fpdfapi/page/cpdf_textstate.cpp
index 85ca9e21ec..6fc8ed29cc 100644
--- a/core/fpdfapi/page/cpdf_textstate.cpp
+++ b/core/fpdfapi/page/cpdf_textstate.cpp
@@ -116,8 +116,7 @@ CPDF_TextState::TextData::TextData(const TextData& that)
m_CTM[i] = that.m_CTM[i];
if (m_pDocument && m_pFont) {
- m_pFont =
- m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict(), FALSE);
+ m_pFont = m_pDocument->GetPageData()->GetFont(m_pFont->GetFontDict());
}
}