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

Side by Side Diff: fpdfsdk/src/pdfwindow/PWL_Note.cpp

Issue 436483002: Fix a few more -Wreorder warnings. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 6 years, 4 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 | « fpdfsdk/src/javascript/JS_Value.cpp ('k') | no next file » | 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 "../../include/pdfwindow/PDFWindow.h" 7 #include "../../include/pdfwindow/PDFWindow.h"
8 #include "../../include/pdfwindow/PWL_Wnd.h" 8 #include "../../include/pdfwindow/PWL_Wnd.h"
9 #include "../../include/pdfwindow/PWL_Button.h" 9 #include "../../include/pdfwindow/PWL_Button.h"
10 #include "../../include/pdfwindow/PWL_EditCtrl.h" 10 #include "../../include/pdfwindow/PWL_EditCtrl.h"
(...skipping 663 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 CPWL_NoteItem* pNoteItem = (CPWL_NoteItem*)pChil d; 674 CPWL_NoteItem* pNoteItem = (CPWL_NoteItem*)pChil d;
675 pNoteItem->EnableRead(bEnabled); 675 pNoteItem->EnableRead(bEnabled);
676 } 676 }
677 } 677 }
678 } 678 }
679 } 679 }
680 680
681 /* ---------------------------------- CPWL_NoteItem ---------------------------- ------ */ 681 /* ---------------------------------- CPWL_NoteItem ---------------------------- ------ */
682 682
683 CPWL_NoteItem::CPWL_NoteItem() : 683 CPWL_NoteItem::CPWL_NoteItem() :
684 m_pPrivateData(NULL),
685 m_pSubject(NULL), 684 m_pSubject(NULL),
686 m_pDateTime(NULL), 685 m_pDateTime(NULL),
687 m_pContents(NULL), 686 m_pContents(NULL),
687 m_pPrivateData(NULL),
688 m_sAuthor(L""), 688 m_sAuthor(L""),
689 m_fOldItemHeight(0.0f), 689 m_fOldItemHeight(0.0f),
690 m_bSizeChanged(FALSE), 690 m_bSizeChanged(FALSE),
691 m_bAllowModify(TRUE) 691 m_bAllowModify(TRUE)
692 { 692 {
693 } 693 }
694 694
695 CPWL_NoteItem::~CPWL_NoteItem() 695 CPWL_NoteItem::~CPWL_NoteItem()
696 { 696 {
697 } 697 }
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1198 { 1198 {
1199 m_pContents->EnableRead(bEnabled); 1199 m_pContents->EnableRead(bEnabled);
1200 } 1200 }
1201 1201
1202 /* ---------------------------------- CPWL_Note -------------------------------- -- */ 1202 /* ---------------------------------- CPWL_Note -------------------------------- -- */
1203 1203
1204 CPWL_Note::CPWL_Note(IPopup_Note* pPopupNote, IPWL_NoteNotify* pNoteNotify, IPWL _NoteHandler* pNoteHandler) : 1204 CPWL_Note::CPWL_Note(IPopup_Note* pPopupNote, IPWL_NoteNotify* pNoteNotify, IPWL _NoteHandler* pNoteHandler) :
1205 m_pAuthor(NULL), 1205 m_pAuthor(NULL),
1206 m_pIcon(NULL), 1206 m_pIcon(NULL),
1207 m_pCloseBox(NULL), 1207 m_pCloseBox(NULL),
1208 m_pContentsBar(NULL),
1209 m_pLBBox(NULL), 1208 m_pLBBox(NULL),
1210 m_pRBBox(NULL), 1209 m_pRBBox(NULL),
1210 m_pContentsBar(NULL),
1211 m_pOptions(NULL), 1211 m_pOptions(NULL),
1212 m_pNoteNotify(pNoteNotify),
1212 m_bResizing(FALSE), 1213 m_bResizing(FALSE),
1213 m_rcCaption(0,0,0,0), 1214 m_rcCaption(0,0,0,0),
1214 m_pNoteNotify(pNoteNotify),
1215 m_bEnalbleNotify(TRUE), 1215 m_bEnalbleNotify(TRUE),
1216 m_pPopupNote(pPopupNote) 1216 m_pPopupNote(pPopupNote)
1217 { 1217 {
1218 } 1218 }
1219 1219
1220 CPWL_Note::~CPWL_Note() 1220 CPWL_Note::~CPWL_Note()
1221 { 1221 {
1222 } 1222 }
1223 1223
1224 IPWL_NoteItem* CPWL_Note::Reply() 1224 IPWL_NoteItem* CPWL_Note::Reply()
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 CFX_WideString CPWL_Note::GetReplyString() const 1769 CFX_WideString CPWL_Note::GetReplyString() const
1770 { 1770 {
1771 return m_sReplyString; 1771 return m_sReplyString;
1772 } 1772 }
1773 1773
1774 void CPWL_Note::SetReplyString(const CFX_WideString& string) 1774 void CPWL_Note::SetReplyString(const CFX_WideString& string)
1775 { 1775 {
1776 m_sReplyString = string; 1776 m_sReplyString = string;
1777 } 1777 }
1778 1778
OLDNEW
« no previous file with comments | « fpdfsdk/src/javascript/JS_Value.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698