diff options
Diffstat (limited to 'xfa/src/fxgraphics')
-rw-r--r-- | xfa/src/fxgraphics/src/fx_path_generator.h | 7 | ||||
-rw-r--r-- | xfa/src/fxgraphics/src/pre.h | 5 |
2 files changed, 9 insertions, 3 deletions
diff --git a/xfa/src/fxgraphics/src/fx_path_generator.h b/xfa/src/fxgraphics/src/fx_path_generator.h index af6181683c..76e416fd55 100644 --- a/xfa/src/fxgraphics/src/fx_path_generator.h +++ b/xfa/src/fxgraphics/src/fx_path_generator.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef __H_FX_PATH_GENERATOR__ -#define __H_FX_PATH_GENERATOR__ +#ifndef XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ +#define XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ #include "core/include/fxge/fx_ge.h" @@ -60,4 +60,5 @@ class CFX_PathGenerator { protected: CFX_PathData* m_pPathData; }; -#endif + +#endif // XFA_SRC_FXGRAPHICS_SRC_FX_PATH_GENERATOR_H_ diff --git a/xfa/src/fxgraphics/src/pre.h b/xfa/src/fxgraphics/src/pre.h index 3cd692e9e2..7341aa7e5c 100644 --- a/xfa/src/fxgraphics/src/pre.h +++ b/xfa/src/fxgraphics/src/pre.h @@ -4,6 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com +#ifndef XFA_SRC_FXGRAPHICS_SRC_PRE_H_ +#define XFA_SRC_FXGRAPHICS_SRC_PRE_H_ + #include "xfa/src/foxitlib.h" #ifndef FXSYS_Mul #define FXSYS_Mul(a, b) ((a) * (b)) @@ -583,3 +586,5 @@ static const FX_HATCHDATA hatchBitmapData[FX_HATCHSTYLE_Total] = { printf("duration is %f millisecond\n", duration * 1000); #else #endif + +#endif // XFA_SRC_FXGRAPHICS_SRC_PRE_H_ |