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

Unified Diff: xfa/src/fee/src/fee/fde_txtedtparag.h

Issue 1636873004: XFA: Fix DOS newlines (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: All of them Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « xfa/src/fee/src/fee/fde_txtedtpage.cpp ('k') | xfa/src/fee/src/fee/fde_txtedtparag.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/src/fee/src/fee/fde_txtedtparag.h
diff --git a/xfa/src/fee/src/fee/fde_txtedtparag.h b/xfa/src/fee/src/fee/fde_txtedtparag.h
index c3685be3222e59712e3a78453f79fcf465a53935..bedcb8b3f3953c4fc4ce619bde8634be92f7b961 100644
--- a/xfa/src/fee/src/fee/fde_txtedtparag.h
+++ b/xfa/src/fee/src/fee/fde_txtedtparag.h
@@ -1,32 +1,32 @@
-// Copyright 2014 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef _FDE_TXTEDTPARAG_H
-#define _FDE_TXTEDTPARAG_H
-class CFDE_TxtEdtEngine;
-class CFDE_TxtEdtParag;
-class CFDE_TxtEdtParag : public IFDE_TxtEdtParag {
- public:
- CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine);
- ~CFDE_TxtEdtParag();
- virtual int32_t GetTextLength() const { return m_nCharCount; }
- virtual int32_t GetStartIndex() const { return m_nCharStart; }
- virtual int32_t CountLines() const { return m_nLineCount; }
- virtual void GetLineRange(int32_t nLineIndex,
- int32_t& nStart,
- int32_t& nCount) const;
- void LoadParag();
- void UnloadParag();
- void CalcLines();
- int32_t m_nCharStart;
- int32_t m_nCharCount;
- int32_t m_nLineCount;
-
- private:
- void* m_lpData;
- CFDE_TxtEdtEngine* m_pEngine;
-};
-#endif
+// Copyright 2014 PDFium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef _FDE_TXTEDTPARAG_H
+#define _FDE_TXTEDTPARAG_H
+class CFDE_TxtEdtEngine;
+class CFDE_TxtEdtParag;
+class CFDE_TxtEdtParag : public IFDE_TxtEdtParag {
+ public:
+ CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine);
+ ~CFDE_TxtEdtParag();
+ virtual int32_t GetTextLength() const { return m_nCharCount; }
+ virtual int32_t GetStartIndex() const { return m_nCharStart; }
+ virtual int32_t CountLines() const { return m_nLineCount; }
+ virtual void GetLineRange(int32_t nLineIndex,
+ int32_t& nStart,
+ int32_t& nCount) const;
+ void LoadParag();
+ void UnloadParag();
+ void CalcLines();
+ int32_t m_nCharStart;
+ int32_t m_nCharCount;
+ int32_t m_nLineCount;
+
+ private:
+ void* m_lpData;
+ CFDE_TxtEdtEngine* m_pEngine;
+};
+#endif
« no previous file with comments | « xfa/src/fee/src/fee/fde_txtedtpage.cpp ('k') | xfa/src/fee/src/fee/fde_txtedtparag.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698