summaryrefslogtreecommitdiff
path: root/core/include/fpdftext
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-05-28 13:09:35 -0700
committerTom Sepez <tsepez@chromium.org>2015-05-28 13:09:35 -0700
commit6b776fed401f97ce2589a847465280de704b9d7f (patch)
tree39f484bd9b3282cbd7e5dbd48c784534e29b59c3 /core/include/fpdftext
parent14f57a153dcbc4c5fedeffe12a3b4f915cc5d558 (diff)
downloadpdfium-6b776fed401f97ce2589a847465280de704b9d7f.tar.xz
Fix ALL the include guards.
Get rid of leading _CAPITAL identifiers. A large number of these didn't actually match the filename. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1160443004
Diffstat (limited to 'core/include/fpdftext')
-rw-r--r--core/include/fpdftext/fpdf_text.h19
1 files changed, 8 insertions, 11 deletions
diff --git a/core/include/fpdftext/fpdf_text.h b/core/include/fpdftext/fpdf_text.h
index 8673c1aac1..936e0f1722 100644
--- a/core/include/fpdftext/fpdf_text.h
+++ b/core/include/fpdftext/fpdf_text.h
@@ -4,17 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _FPDF_TEXT_H_
-#define _FPDF_TEXT_H_
-#ifndef _FPDF_PARSER_
-#include "../fpdfapi/fpdf_parser.h"
-#endif
-#ifndef _FPDF_PAGEOBJ_H_
-#include "../fpdfapi/fpdf_pageobj.h"
-#endif
-#ifndef _FPDF_PAGE_
+#ifndef CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_
+#define CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_
+
#include "../fpdfapi/fpdf_page.h"
-#endif
+#include "../fpdfapi/fpdf_pageobj.h"
+#include "../fpdfapi/fpdf_parser.h"
+
class CPDF_PageObjects;
#define PDF2TXT_AUTO_ROTATE 1
#define PDF2TXT_AUTO_WIDTH 2
@@ -170,4 +166,5 @@ public:
virtual void GetRects(int index, CFX_RectArray& rects) const = 0;
};
-#endif
+
+#endif // CORE_INCLUDE_FPDFTEXT_FPDF_TEXT_H_