From 584acd48e02f4c6f3cb6d447e4648916528a1108 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Wed, 5 Sep 2012 13:35:13 +0200 Subject: printsupport: 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: Iefc02181fe235ede51c567fb54997531e5cd08a3 Reviewed-by: Thiago Macieira --- src/printsupport/dialogs/qpagesetupdialog_unix_p.h | 4 ++-- src/printsupport/kernel/qpaintengine_preview_p.h | 4 ++-- src/printsupport/kernel/qplatformprintersupport.h | 6 +++--- src/printsupport/kernel/qplatformprintplugin.h | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h index e5c871828a..1da05bbc89 100644 --- a/src/printsupport/dialogs/qpagesetupdialog_unix_p.h +++ b/src/printsupport/dialogs/qpagesetupdialog_unix_p.h @@ -38,8 +38,8 @@ ** $QT_END_LICENSE$ ** ****************************************************************************/ -#ifndef QPAGESETUPWIDGET_H -#define QPAGESETUPWIDGET_H +#ifndef QPAGESETUPDIALOG_UNIX_P_H +#define QPAGESETUPDIALOG_UNIX_P_H // // W A R N I N G diff --git a/src/printsupport/kernel/qpaintengine_preview_p.h b/src/printsupport/kernel/qpaintengine_preview_p.h index 98fdf2555e..6e8bface26 100644 --- a/src/printsupport/kernel/qpaintengine_preview_p.h +++ b/src/printsupport/kernel/qpaintengine_preview_p.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QPREVIEWPAINTENGINE_P_H -#define QPREVIEWPAINTENGINE_P_H +#ifndef QPAINTENGINE_PREVIEW_P_H +#define QPAINTENGINE_PREVIEW_P_H // // W A R N I N G diff --git a/src/printsupport/kernel/qplatformprintersupport.h b/src/printsupport/kernel/qplatformprintersupport.h index 018ec05c03..ae583d55f6 100644 --- a/src/printsupport/kernel/qplatformprintersupport.h +++ b/src/printsupport/kernel/qplatformprintersupport.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QPLATFORMPRINTINGSUPPORT_H -#define QPLATFORMPRINTINGSUPPORT_H +#ifndef QPLATFORMPRINTERSUPPORT_H +#define QPLATFORMPRINTERSUPPORT_H // // W A R N I N G // ------------- @@ -100,4 +100,4 @@ QT_END_NAMESPACE QT_END_HEADER -#endif // QPLATFORMPRINTINGSUPPORT_H +#endif // QPLATFORMPRINTERSUPPORT_H diff --git a/src/printsupport/kernel/qplatformprintplugin.h b/src/printsupport/kernel/qplatformprintplugin.h index 1fa0f52de4..4394d143f5 100644 --- a/src/printsupport/kernel/qplatformprintplugin.h +++ b/src/printsupport/kernel/qplatformprintplugin.h @@ -39,8 +39,8 @@ ** ****************************************************************************/ -#ifndef QPLATFORMPRINTERSUPPORTPLUGIN_H -#define QPLATFORMPRINTERSUPPORTPLUGIN_H +#ifndef QPLATFORMPRINTPLUGIN_H +#define QPLATFORMPRINTPLUGIN_H // // W A R N I N G @@ -80,4 +80,4 @@ QT_END_NAMESPACE QT_END_HEADER -#endif // QPLATFORMPRINTERSUPPORTPLUGIN_H +#endif // QPLATFORMPRINTPLUGIN_H -- cgit v1.2.3