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

Side by Side Diff: core/src/fpdftext/fpdf_text_int.cpp

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 | « core/src/fpdfdoc/doc_utils.cpp ('k') | core/src/fxcodec/codec/codec_int.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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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/src/fpdftext/text_int.h" 7 #include "core/src/fpdftext/text_int.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 #include <cctype> 10 #include <cctype>
11 #include <cwctype> 11 #include <cwctype>
12 #include <memory> 12 #include <memory>
13 #include <utility>
13 #include <vector> 14 #include <vector>
14 15
15 #include "core/include/fpdfapi/fpdf_module.h" 16 #include "core/include/fpdfapi/fpdf_module.h"
16 #include "core/include/fpdfapi/fpdf_page.h" 17 #include "core/include/fpdfapi/fpdf_page.h"
17 #include "core/include/fpdfapi/fpdf_pageobj.h" 18 #include "core/include/fpdfapi/fpdf_pageobj.h"
18 #include "core/include/fpdfapi/fpdf_resource.h" 19 #include "core/include/fpdfapi/fpdf_resource.h"
19 #include "core/include/fpdftext/fpdf_text.h" 20 #include "core/include/fpdftext/fpdf_text.h"
20 #include "core/include/fxcrt/fx_bidi.h" 21 #include "core/include/fxcrt/fx_bidi.h"
21 #include "core/include/fxcrt/fx_ext.h" 22 #include "core/include/fxcrt/fx_ext.h"
22 #include "core/include/fxcrt/fx_ucd.h" 23 #include "core/include/fxcrt/fx_ucd.h"
(...skipping 2466 matching lines...) Expand 10 before | Expand all | Expand 10 after
2489 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) { 2490 if (!m_bIsParsed || index < 0 || index >= m_LinkList.GetSize()) {
2490 return; 2491 return;
2491 } 2492 }
2492 CPDF_LinkExt* link = NULL; 2493 CPDF_LinkExt* link = NULL;
2493 link = m_LinkList.GetAt(index); 2494 link = m_LinkList.GetAt(index);
2494 if (!link) { 2495 if (!link) {
2495 return; 2496 return;
2496 } 2497 }
2497 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects); 2498 m_pTextPage->GetRectArray(link->m_Start, link->m_Count, rects);
2498 } 2499 }
OLDNEW
« no previous file with comments | « core/src/fpdfdoc/doc_utils.cpp ('k') | core/src/fxcodec/codec/codec_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698