summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_textstate.cpp
diff options
context:
space:
mode:
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());
}
}