Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1441)

Side by Side Diff: core/fpdfdoc/cpdf_variabletext.cpp

Issue 1960183003: Remove some dead code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | core/fpdfdoc/cpvt_generateap.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h" 7 #include "core/fpdfapi/fpdf_font/include/cpdf_font.h"
8 #include "core/fpdfdoc/cpvt_wordinfo.h" 8 #include "core/fpdfdoc/cpvt_wordinfo.h"
9 #include "core/fpdfdoc/csection.h" 9 #include "core/fpdfdoc/csection.h"
10 #include "core/fpdfdoc/include/cpdf_variabletext.h" 10 #include "core/fpdfdoc/include/cpdf_variabletext.h"
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1146 FX_BOOL CPDF_VariableText::IsLatinWord(uint16_t word) { 1146 FX_BOOL CPDF_VariableText::IsLatinWord(uint16_t word) {
1147 return m_pVTProvider ? m_pVTProvider->IsLatinWord(word) : FALSE; 1147 return m_pVTProvider ? m_pVTProvider->IsLatinWord(word) : FALSE;
1148 } 1148 }
1149 1149
1150 CPDF_VariableText::Iterator* CPDF_VariableText::GetIterator() { 1150 CPDF_VariableText::Iterator* CPDF_VariableText::GetIterator() {
1151 if (!m_pVTIterator) 1151 if (!m_pVTIterator)
1152 m_pVTIterator = new CPDF_VariableText::Iterator(this); 1152 m_pVTIterator = new CPDF_VariableText::Iterator(this);
1153 return m_pVTIterator; 1153 return m_pVTIterator;
1154 } 1154 }
1155 1155
1156 CPDF_VariableText::Provider* CPDF_VariableText::SetProvider( 1156 void CPDF_VariableText::SetProvider(CPDF_VariableText::Provider* pProvider) {
1157 CPDF_VariableText::Provider* pProvider) {
1158 CPDF_VariableText::Provider* pOld = m_pVTProvider;
1159 m_pVTProvider = pProvider; 1157 m_pVTProvider = pProvider;
1160 return pOld;
1161 } 1158 }
OLDNEW
« no previous file with comments | « no previous file | core/fpdfdoc/cpvt_generateap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698