From 9bedada232fb821f1fba2c1bdbd24702947dcaed Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Sat, 15 Sep 2012 16:51:51 +0200 Subject: gui/opengl: Fix missing or improper include guard in headers Use an include guard in headers to ensure the header is not included more than once. Make the header guard match its file name. Change-Id: I29b41e9d33e4ea17165f44c49de0a963574dd809 Reviewed-by: Konstantin Ritt --- src/gui/text/qglyphrun.h | 6 +++--- src/gui/text/qglyphrun_p.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/gui/text') diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h index 37e9a72bbe..80c796fb50 100644 --- a/src/gui/text/qglyphrun.h +++ b/src/gui/text/qglyphrun.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QOpenGLYPHRUN_H -#define QOpenGLYPHRUN_H +#ifndef QGLYPHRUN_H +#define QGLYPHRUN_H #include #include @@ -134,4 +134,4 @@ QT_END_HEADER #endif // QT_NO_RAWFONT -#endif // QOpenGLYPHS_H +#endif // QGLYPHRUN_H diff --git a/src/gui/text/qglyphrun_p.h b/src/gui/text/qglyphrun_p.h index b75862b762..6926934224 100644 --- a/src/gui/text/qglyphrun_p.h +++ b/src/gui/text/qglyphrun_p.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QOpenGLYPHRUN_P_H -#define QOpenGLYPHRUN_P_H +#ifndef QGLYPHRUN_P_H +#define QGLYPHRUN_P_H // // W A R N I N G @@ -113,6 +113,6 @@ QT_END_NAMESPACE QT_END_HEADER -#endif // QOpenGLYPHS_P_H - #endif // QT_NO_RAWFONT + +#endif // QGLYPHRUN_P_H -- cgit v1.2.3