| OLD | NEW |
| 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/fgas/font/fgas_stdfontmgr.h" | 7 #include "xfa/fgas/font/fgas_stdfontmgr.h" |
| 8 | 8 |
| 9 #include "core/fxcrt/include/fx_stream.h" | 9 #include "core/fxcrt/include/fx_stream.h" |
| 10 #include "xfa/fgas/crt/fgas_codepage.h" | 10 #include "xfa/fgas/crt/fgas_codepage.h" |
| (...skipping 1486 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1497 USB[0] = 0; | 1497 USB[0] = 0; |
| 1498 USB[1] = 0; | 1498 USB[1] = 0; |
| 1499 USB[2] = 0; | 1499 USB[2] = 0; |
| 1500 USB[3] = 0; | 1500 USB[3] = 0; |
| 1501 CSB[0] = 0; | 1501 CSB[0] = 0; |
| 1502 CSB[1] = 0; | 1502 CSB[1] = 0; |
| 1503 } | 1503 } |
| 1504 } | 1504 } |
| 1505 int32_t CFX_FontMgrImp::IsPartName(const CFX_WideString& Name1, | 1505 int32_t CFX_FontMgrImp::IsPartName(const CFX_WideString& Name1, |
| 1506 const CFX_WideString& Name2) { | 1506 const CFX_WideString& Name2) { |
| 1507 if (Name1.Find((const FX_WCHAR*)Name2) != -1) { | 1507 if (Name1.Find(Name2.c_str()) != -1) { |
| 1508 return 1; | 1508 return 1; |
| 1509 } | 1509 } |
| 1510 return 0; | 1510 return 0; |
| 1511 } | 1511 } |
| 1512 #endif | 1512 #endif |
| OLD | NEW |