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

Side by Side Diff: core/fpdfapi/fpdf_font/fpdf_font.cpp

Issue 2032613003: Get rid of NULLs in core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: s/NULL/nullptr/ Created 4 years, 6 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/fpdfapi/fpdf_font/font_int.h" 7 #include "core/fpdfapi/fpdf_font/font_int.h"
8 8
9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h" 9 #include "core/fpdfapi/fpdf_page/cpdf_pagemodule.h"
10 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h" 10 #include "core/fpdfapi/fpdf_page/include/cpdf_form.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 } else if (word == "/Adobe-GB1-UCS2") { 290 } else if (word == "/Adobe-GB1-UCS2") {
291 cid_set = CIDSET_GB1; 291 cid_set = CIDSET_GB1;
292 } 292 }
293 } 293 }
294 if (cid_set) { 294 if (cid_set) {
295 m_pBaseMap = CPDF_ModuleMgr::Get() 295 m_pBaseMap = CPDF_ModuleMgr::Get()
296 ->GetPageModule() 296 ->GetPageModule()
297 ->GetFontGlobals() 297 ->GetFontGlobals()
298 ->m_CMapManager.GetCID2UnicodeMap(cid_set, FALSE); 298 ->m_CMapManager.GetCID2UnicodeMap(cid_set, FALSE);
299 } else { 299 } else {
300 m_pBaseMap = NULL; 300 m_pBaseMap = nullptr;
301 } 301 }
302 } 302 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698