summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/BC_TwoDimWriter.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
committerLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
commite6cab2252ee48212420b52735afa6346bb256e2c (patch)
tree1ffbed054fd1c73dd1da6cd3393b82665c21c6ff /xfa/src/fxbarcode/BC_TwoDimWriter.h
parentb4e7f304af0ad92d20f952e6634000d177974f47 (diff)
downloadpdfium-e6cab2252ee48212420b52735afa6346bb256e2c.tar.xz
XFA: Actually fix all relative includes to third_party.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413253003 .
Diffstat (limited to 'xfa/src/fxbarcode/BC_TwoDimWriter.h')
-rw-r--r--xfa/src/fxbarcode/BC_TwoDimWriter.h20
1 files changed, 11 insertions, 9 deletions
diff --git a/xfa/src/fxbarcode/BC_TwoDimWriter.h b/xfa/src/fxbarcode/BC_TwoDimWriter.h
index 1afe59fb00..6a9866bd51 100644
--- a/xfa/src/fxbarcode/BC_TwoDimWriter.h
+++ b/xfa/src/fxbarcode/BC_TwoDimWriter.h
@@ -4,12 +4,13 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef _BC_TWODIMWRITER_H_
-#define _BC_TWODIMWRITER_H_
-#include "BC_Writer.h"
-class CBC_Writer;
+#ifndef XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
+#define XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_
+
+#include "xfa/src/fxbarcode/BC_Writer.h"
+
class CBC_CommonBitMatrix;
-class CBC_TwoDimWriter;
+
class CBC_TwoDimWriter : public CBC_Writer {
public:
CBC_TwoDimWriter();
@@ -19,7 +20,7 @@ class CBC_TwoDimWriter : public CBC_Writer {
int32_t& outWidth,
int32_t& outHeight,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual uint8_t* Encode(const CFX_ByteString& contents,
BCFORMAT format,
@@ -27,14 +28,14 @@ class CBC_TwoDimWriter : public CBC_Writer {
int32_t& outHeight,
int32_t hints,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual uint8_t* Encode(const CFX_ByteString& contents,
BCFORMAT format,
int32_t& outWidth,
int32_t& outHeight,
int32_t& e) {
- return NULL;
+ return nullptr;
};
virtual void RenderResult(uint8_t* code,
int32_t codeWidth,
@@ -51,4 +52,5 @@ class CBC_TwoDimWriter : public CBC_Writer {
FX_BOOL m_bFixedSize;
CBC_CommonBitMatrix* m_output;
};
-#endif
+
+#endif // XFA_SRC_FXBARCODE_BC_TWODIMWRITER_H_