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

Side by Side Diff: xfa/fwl/basewidget/fxmath_barcodeimp.cpp

Issue 1803723002: Move xfa/src up to xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Rebase to master 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
« no previous file with comments | « xfa/fwl/basewidget/fxmath_barcodeimp.h ('k') | xfa/fwl/core/fwl_appimp.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 "xfa/src/fwl/basewidget/fxmath_barcodeimp.h" 7 #include "xfa/fwl/basewidget/fxmath_barcodeimp.h"
8 8
9 static CBC_CodeBase* FX_Barcode_CreateBarCodeEngineObject(BC_TYPE type) { 9 static CBC_CodeBase* FX_Barcode_CreateBarCodeEngineObject(BC_TYPE type) {
10 switch (type) { 10 switch (type) {
11 case BC_CODE39: 11 case BC_CODE39:
12 return new CBC_Code39(); 12 return new CBC_Code39();
13 case BC_CODABAR: 13 case BC_CODABAR:
14 return new CBC_Codabar(); 14 return new CBC_Codabar();
15 case BC_CODE128: 15 case BC_CODE128:
16 return new CBC_Code128(BC_CODE128_B); 16 return new CBC_Code128(BC_CODE128_B);
17 case BC_CODE128_B: 17 case BC_CODE128_B:
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 return CFX_WideString(); 376 return CFX_WideString();
377 } 377 }
378 IFX_Barcode* FX_Barcode_Create(BC_TYPE type) { 378 IFX_Barcode* FX_Barcode_Create(BC_TYPE type) {
379 CFX_Barcode* pBarcode = new CFX_Barcode; 379 CFX_Barcode* pBarcode = new CFX_Barcode;
380 if (pBarcode->Crreate(type)) { 380 if (pBarcode->Crreate(type)) {
381 return pBarcode; 381 return pBarcode;
382 } 382 }
383 pBarcode->Release(); 383 pBarcode->Release();
384 return NULL; 384 return NULL;
385 } 385 }
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fxmath_barcodeimp.h ('k') | xfa/fwl/core/fwl_appimp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698