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

Side by Side Diff: core/src/fxcrt/fx_xml_parser.cpp

Issue 404653005: Remove a few unused variables, functions, and tables. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 5 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/fxcrt/fx_basic_bstring.cpp ('k') | core/src/fxge/apple/fx_quartz_device.cpp » ('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 "../../include/fxcrt/fx_xml.h" 7 #include "../../include/fxcrt/fx_xml.h"
8 #include "xml_int.h" 8 #include "xml_int.h"
9 CXML_Parser::~CXML_Parser() 9 CXML_Parser::~CXML_Parser()
10 { 10 {
(...skipping 845 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 CXML_AttrItem& CXML_AttrMap::GetAt(int index) const 856 CXML_AttrItem& CXML_AttrMap::GetAt(int index) const
857 { 857 {
858 ASSERT(m_pMap != NULL); 858 ASSERT(m_pMap != NULL);
859 return (*m_pMap)[index]; 859 return (*m_pMap)[index];
860 } 860 }
861 void CXML_AttrMap::RemoveAll() 861 void CXML_AttrMap::RemoveAll()
862 { 862 {
863 if (!m_pMap) { 863 if (!m_pMap) {
864 return; 864 return;
865 } 865 }
866 for (int i = 0; i < m_pMap->GetSize(); i ++) {
867 CXML_AttrItem& item = (*m_pMap)[i];
868 }
869 m_pMap->RemoveAll(); 866 m_pMap->RemoveAll();
870 delete m_pMap; 867 delete m_pMap;
871 m_pMap = NULL; 868 m_pMap = NULL;
872 } 869 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_basic_bstring.cpp ('k') | core/src/fxge/apple/fx_quartz_device.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698