From 2ca2da505ba75cd830539ffc98dfc482fd4daa41 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 13 Sep 2016 18:10:34 -0700 Subject: Sort include entries. This CL updates all of the includes to be correctly sorted. A PRESUBMIT warning is added (from chromium) that will warn if the includes are in the wrong order on upload. Review-Url: https://codereview.chromium.org/2337293002 --- xfa/fde/cfde_txtedtengine.cpp | 8 ++++---- xfa/fde/cfde_txtedtpage.cpp | 4 ++-- xfa/fde/cfde_txtedtparag.cpp | 2 +- xfa/fde/xml/fde_xml_imp_unittest.cpp | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xfa/fde') diff --git a/xfa/fde/cfde_txtedtengine.cpp b/xfa/fde/cfde_txtedtengine.cpp index e7da157178..3852fe7f0f 100644 --- a/xfa/fde/cfde_txtedtengine.cpp +++ b/xfa/fde/cfde_txtedtengine.cpp @@ -8,14 +8,14 @@ #include "xfa/fde/cfde_txtedtbuf.h" #include "xfa/fde/cfde_txtedtbufiter.h" -#include "xfa/fde/ifx_chariter.h" -#include "xfa/fgas/layout/fgas_textbreak.h" -#include "xfa/fwl/basewidget/fwl_editimp.h" #include "xfa/fde/cfde_txtedtdorecord_deleterange.h" #include "xfa/fde/cfde_txtedtdorecord_insert.h" -#include "xfa/fde/cfde_txtedtparag.h" #include "xfa/fde/cfde_txtedtpage.h" +#include "xfa/fde/cfde_txtedtparag.h" +#include "xfa/fde/ifx_chariter.h" #include "xfa/fde/tto/fde_textout.h" +#include "xfa/fgas/layout/fgas_textbreak.h" +#include "xfa/fwl/basewidget/fwl_editimp.h" namespace { diff --git a/xfa/fde/cfde_txtedtpage.cpp b/xfa/fde/cfde_txtedtpage.cpp index 21420998d4..24eab86e0b 100644 --- a/xfa/fde/cfde_txtedtpage.cpp +++ b/xfa/fde/cfde_txtedtpage.cpp @@ -12,10 +12,10 @@ #include "xfa/fde/cfde_txtedtbufiter.h" #include "xfa/fde/cfde_txtedtengine.h" #include "xfa/fde/cfde_txtedtparag.h" -#include "xfa/fde/ifde_txtedtengine.h" -#include "xfa/fde/ifde_txtedtpage.h" #include "xfa/fde/cfde_txtedttextset.h" #include "xfa/fde/cfx_wordbreak.h" +#include "xfa/fde/ifde_txtedtengine.h" +#include "xfa/fde/ifde_txtedtpage.h" namespace { diff --git a/xfa/fde/cfde_txtedtparag.cpp b/xfa/fde/cfde_txtedtparag.cpp index 9ba0fa5431..38f569d334 100644 --- a/xfa/fde/cfde_txtedtparag.cpp +++ b/xfa/fde/cfde_txtedtparag.cpp @@ -10,8 +10,8 @@ #include "xfa/fde/cfde_txtedtbufiter.h" #include "xfa/fde/cfde_txtedtengine.h" #include "xfa/fde/ifde_txtedtengine.h" -#include "xfa/fgas/layout/fgas_textbreak.h" #include "xfa/fde/ifx_chariter.h" +#include "xfa/fgas/layout/fgas_textbreak.h" CFDE_TxtEdtParag::CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine) : m_nCharStart(0), diff --git a/xfa/fde/xml/fde_xml_imp_unittest.cpp b/xfa/fde/xml/fde_xml_imp_unittest.cpp index 03cc426d32..f0d0bca2ca 100644 --- a/xfa/fde/xml/fde_xml_imp_unittest.cpp +++ b/xfa/fde/xml/fde_xml_imp_unittest.cpp @@ -4,8 +4,8 @@ #include "xfa/fde/xml/fde_xml_imp.h" -#include "xfa/fgas/crt/fgas_stream.h" #include "testing/gtest/include/gtest/gtest.h" +#include "xfa/fgas/crt/fgas_stream.h" TEST(CFDE_XMLSyntaxParser, CData) { const FX_WCHAR* input = -- cgit v1.2.3