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

Side by Side Diff: xfa/src/fwl/lightwidget/edit.cpp

Issue 1773733002: Review and cleanup lint warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: 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
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/include/fwl/lightwidget/edit.h" 7 #include "xfa/include/fwl/lightwidget/edit.h"
8 8
9 #include <memory> 9 #include <memory>
10 #include <vector>
10 11
11 #include "xfa/include/fwl/basewidget/fwl_edit.h" 12 #include "xfa/include/fwl/basewidget/fwl_edit.h"
12 13
13 CFWL_Edit* CFWL_Edit::Create() { 14 CFWL_Edit* CFWL_Edit::Create() {
14 return new CFWL_Edit; 15 return new CFWL_Edit;
15 } 16 }
16 FWL_ERR CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) { 17 FWL_ERR CFWL_Edit::Initialize(const CFWL_WidgetProperties* pProperties) {
17 if (m_pIface) 18 if (m_pIface)
18 return FWL_ERR_Indefinite; 19 return FWL_ERR_Indefinite;
19 if (pProperties) { 20 if (pProperties) {
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 std::vector<CFX_ByteString>& sSuggest) { 202 std::vector<CFX_ByteString>& sSuggest) {
202 return static_cast<IFWL_Edit*>(m_pIface)->GetSuggestWords(pointf, sSuggest); 203 return static_cast<IFWL_Edit*>(m_pIface)->GetSuggestWords(pointf, sSuggest);
203 } 204 }
204 FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf, 205 FX_BOOL CFWL_Edit::ReplaceSpellCheckWord(CFX_PointF pointf,
205 const CFX_ByteStringC& bsReplace) { 206 const CFX_ByteStringC& bsReplace) {
206 return static_cast<IFWL_Edit*>(m_pIface) 207 return static_cast<IFWL_Edit*>(m_pIface)
207 ->ReplaceSpellCheckWord(pointf, bsReplace); 208 ->ReplaceSpellCheckWord(pointf, bsReplace);
208 } 209 }
209 CFWL_Edit::CFWL_Edit() {} 210 CFWL_Edit::CFWL_Edit() {}
210 CFWL_Edit::~CFWL_Edit() {} 211 CFWL_Edit::~CFWL_Edit() {}
OLDNEW
« no previous file with comments | « xfa/src/fwl/basewidget/fwl_editimp.cpp ('k') | xfa/src/fxbarcode/common/BC_WhiteRectangleDetector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698