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

Side by Side Diff: fpdfsdk/src/fpdfxfa/fpdfxfa_doc.cpp

Issue 1730553002: Fixing whitespace lint errors. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review fixes Created 4 years, 10 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 | « fpdfsdk/src/fpdftext.cpp ('k') | fpdfsdk/src/javascript/JS_Define.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 "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h" 7 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_app.h"
8 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h" 8 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h"
9 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h" 9 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_page.h"
10 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h" 10 #include "fpdfsdk/include/fpdfxfa/fpdfxfa_util.h"
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 delete pAcc; 691 delete pAcc;
692 } 692 }
693 } 693 }
694 } 694 }
695 if (!fileWrite.Flush()) { 695 if (!fileWrite.Flush()) {
696 // TODO: Report error. 696 // TODO: Report error.
697 } 697 }
698 } 698 }
699 void CPDFXFA_Document::ImportData(IXFA_Doc* hDoc, 699 void CPDFXFA_Document::ImportData(IXFA_Doc* hDoc,
700 const CFX_WideStringC& wsFilePath) { 700 const CFX_WideStringC& wsFilePath) {
701 // TODO... 701 // TODO ...
702 } 702 }
703 703
704 void CPDFXFA_Document::GotoURL(IXFA_Doc* hDoc, 704 void CPDFXFA_Document::GotoURL(IXFA_Doc* hDoc,
705 const CFX_WideStringC& bsURL, 705 const CFX_WideStringC& bsURL,
706 FX_BOOL bAppend) { 706 FX_BOOL bAppend) {
707 if (hDoc != m_pXFADoc) 707 if (hDoc != m_pXFADoc)
708 return; 708 return;
709 709
710 if (m_iDocType != DOCTYPE_DYNAMIC_XFA) 710 if (m_iDocType != DOCTYPE_DYNAMIC_XFA)
711 return; 711 return;
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
1249 } 1249 }
1250 1250
1251 return _GetHValueByName(szPropName, hValue, 1251 return _GetHValueByName(szPropName, hValue,
1252 m_pSDKDoc->GetEnv()->GetJSRuntime()); 1252 m_pSDKDoc->GetEnv()->GetJSRuntime());
1253 } 1253 }
1254 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name, 1254 FX_BOOL CPDFXFA_Document::_GetHValueByName(const CFX_ByteStringC& utf8Name,
1255 FXJSE_HVALUE hValue, 1255 FXJSE_HVALUE hValue,
1256 IJS_Runtime* runTime) { 1256 IJS_Runtime* runTime) {
1257 return runTime->GetHValueByName(utf8Name, hValue); 1257 return runTime->GetHValueByName(utf8Name, hValue);
1258 } 1258 }
OLDNEW
« no previous file with comments | « fpdfsdk/src/fpdftext.cpp ('k') | fpdfsdk/src/javascript/JS_Define.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698