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

Side by Side Diff: xfa/src/fxfa/src/fm2js/xfa_lexer.cpp

Issue 1746053003: Remove foxitlib.h and foxitxfa.h and IWYU. (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
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/include/fxcrt/fx_ext.h"
7 #include "xfa/src/fxfa/src/fm2js/xfa_fm2js.h" 8 #include "xfa/src/fxfa/src/fm2js/xfa_fm2js.h"
8 9
9 namespace { 10 namespace {
10 11
11 struct XFA_FMDChar { 12 struct XFA_FMDChar {
12 static const FX_WCHAR* inc(const FX_WCHAR*& p) { 13 static const FX_WCHAR* inc(const FX_WCHAR*& p) {
13 ++p; 14 ++p;
14 return p; 15 return p;
15 } 16 }
16 static const FX_WCHAR* dec(const FX_WCHAR*& p) { 17 static const FX_WCHAR* dec(const FX_WCHAR*& p) {
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 m_pErrorInfo->message.FormatV(lpMessageInfo, ap); 542 m_pErrorInfo->message.FormatV(lpMessageInfo, ap);
542 va_end(ap); 543 va_end(ap);
543 } 544 }
544 545
545 FX_BOOL CXFA_FMLexer::HasError() const { 546 FX_BOOL CXFA_FMLexer::HasError() const {
546 if (m_pErrorInfo->message.IsEmpty()) { 547 if (m_pErrorInfo->message.IsEmpty()) {
547 return FALSE; 548 return FALSE;
548 } 549 }
549 return TRUE; 550 return TRUE;
550 } 551 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698