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

Side by Side Diff: xfa/fwl/core/fwl_targetimp.cpp

Issue 1888103002: Replace calls to deprecated CFX_{Wide,Byte}String::Empty() (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 8 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/fwl_editimp.cpp ('k') | xfa/fxfa/app/xfa_checksum.cpp » ('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/fwl/core/fwl_targetimp.h" 7 #include "xfa/fwl/core/fwl_targetimp.h"
8 8
9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const { 9 FWL_ERR IFWL_Target::GetClassName(CFX_WideString& wsClass) const {
10 return m_pImpl->GetClassName(wsClass); 10 return m_pImpl->GetClassName(wsClass);
11 } 11 }
12 uint32_t IFWL_Target::GetClassID() const { 12 uint32_t IFWL_Target::GetClassID() const {
13 return m_pImpl->GetClassID(); 13 return m_pImpl->GetClassID();
14 } 14 }
15 FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const { 15 FX_BOOL IFWL_Target::IsInstance(const CFX_WideStringC& wsClass) const {
16 return m_pImpl->IsInstance(wsClass); 16 return m_pImpl->IsInstance(wsClass);
17 } 17 }
18 FWL_ERR IFWL_Target::Initialize() { 18 FWL_ERR IFWL_Target::Initialize() {
19 return m_pImpl->Initialize(); 19 return m_pImpl->Initialize();
20 } 20 }
21 FWL_ERR IFWL_Target::Finalize() { 21 FWL_ERR IFWL_Target::Finalize() {
22 return m_pImpl->Finalize(); 22 return m_pImpl->Finalize();
23 } 23 }
24 IFWL_Target::~IFWL_Target() { 24 IFWL_Target::~IFWL_Target() {
25 delete m_pImpl; 25 delete m_pImpl;
26 } 26 }
27 CFWL_TargetImp::CFWL_TargetImp() {} 27 CFWL_TargetImp::CFWL_TargetImp() {}
28 CFWL_TargetImp::~CFWL_TargetImp() {} 28 CFWL_TargetImp::~CFWL_TargetImp() {}
29 FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const { 29 FWL_ERR CFWL_TargetImp::GetClassName(CFX_WideString& wsClass) const {
30 wsClass.Empty(); 30 wsClass.clear();
31 return FWL_ERR_Succeeded; 31 return FWL_ERR_Succeeded;
32 } 32 }
33 uint32_t CFWL_TargetImp::GetClassID() const { 33 uint32_t CFWL_TargetImp::GetClassID() const {
34 return 0; 34 return 0;
35 } 35 }
36 FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const { 36 FX_BOOL CFWL_TargetImp::IsInstance(const CFX_WideStringC& wsClass) const {
37 return FALSE; 37 return FALSE;
38 } 38 }
39 FWL_ERR CFWL_TargetImp::Initialize() { 39 FWL_ERR CFWL_TargetImp::Initialize() {
40 return FWL_ERR_Succeeded; 40 return FWL_ERR_Succeeded;
41 } 41 }
42 FWL_ERR CFWL_TargetImp::Finalize() { 42 FWL_ERR CFWL_TargetImp::Finalize() {
43 return FWL_ERR_Succeeded; 43 return FWL_ERR_Succeeded;
44 } 44 }
OLDNEW
« no previous file with comments | « xfa/fwl/basewidget/fwl_editimp.cpp ('k') | xfa/fxfa/app/xfa_checksum.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698