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: core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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 "../../../include/fpdfapi/fpdf_serial.h" 7 #include "core/include/fpdfapi/fpdf_serial.h"
8
8 CFDF_Document::CFDF_Document() : CPDF_IndirectObjects(NULL) { 9 CFDF_Document::CFDF_Document() : CPDF_IndirectObjects(NULL) {
9 m_pRootDict = NULL; 10 m_pRootDict = NULL;
10 m_pFile = NULL; 11 m_pFile = NULL;
11 m_bOwnFile = FALSE; 12 m_bOwnFile = FALSE;
12 } 13 }
13 CFDF_Document::~CFDF_Document() { 14 CFDF_Document::~CFDF_Document() {
14 if (m_bOwnFile && m_pFile) { 15 if (m_bOwnFile && m_pFile) {
15 m_pFile->Release(); 16 m_pFile->Release();
16 } 17 }
17 } 18 }
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 result += wsFileName[1]; 172 result += wsFileName[1];
172 result += ':'; 173 result += ':';
173 result += ChangeSlash(wsFileName.c_str() + 2); 174 result += ChangeSlash(wsFileName.c_str() + 2);
174 return result; 175 return result;
175 } 176 }
176 CFX_WideString result; 177 CFX_WideString result;
177 result += '\\'; 178 result += '\\';
178 result += ChangeSlash(wsFileName.c_str()); 179 result += ChangeSlash(wsFileName.c_str());
179 return result; 180 return result;
180 } 181 }
OLDNEW
« no previous file with comments | « core/src/fpdfapi/fpdf_parser/fpdf_parser_encrypt.cpp ('k') | core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698