From 3828029ee02f4877a61f1e31bce1f5ed5abefddc Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <Friedemann.Kleint@digia.com>
Date: Tue, 12 Mar 2013 12:11:21 +0100
Subject: [PATCH] Fix Krazy warnings about includes/header guards in various
 editors.

Change-Id: Id2f8c37a6faac109176d1fb7426b87523dc67c6b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
---
 src/libs/glsl/glslsymbols.cpp                    | 2 +-
 src/plugins/bineditor/bineditorplugin.cpp        | 1 -
 src/plugins/glsleditor/glslcompletionassist.cpp  | 1 -
 src/plugins/glsleditor/glsleditoractionhandler.h | 6 +++---
 src/plugins/glsleditor/glslfilewizard.cpp        | 3 +--
 5 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/libs/glsl/glslsymbols.cpp b/src/libs/glsl/glslsymbols.cpp
index fc077cbca9b..69d02c5d0bf 100644
--- a/src/libs/glsl/glslsymbols.cpp
+++ b/src/libs/glsl/glslsymbols.cpp
@@ -27,8 +27,8 @@
 **
 ****************************************************************************/
 
-#include "glsltypes.h"
 #include "glslsymbols.h"
+#include "glsltypes.h"
 #include <QDebug>
 
 using namespace GLSL;
diff --git a/src/plugins/bineditor/bineditorplugin.cpp b/src/plugins/bineditor/bineditorplugin.cpp
index 7d2903b43e0..feedcf00c0f 100644
--- a/src/plugins/bineditor/bineditorplugin.cpp
+++ b/src/plugins/bineditor/bineditorplugin.cpp
@@ -54,7 +54,6 @@
 #include <coreplugin/id.h>
 #include <coreplugin/editormanager/editormanager.h>
 #include <coreplugin/editormanager/ieditor.h>
-#include <coreplugin/icore.h>
 #include <coreplugin/idocument.h>
 #include <coreplugin/mimedatabase.h>
 #include <extensionsystem/pluginmanager.h>
diff --git a/src/plugins/glsleditor/glslcompletionassist.cpp b/src/plugins/glsleditor/glslcompletionassist.cpp
index ffbe19cee28..736ef2fd00c 100644
--- a/src/plugins/glsleditor/glslcompletionassist.cpp
+++ b/src/plugins/glsleditor/glslcompletionassist.cpp
@@ -32,7 +32,6 @@
 #include "glsleditorplugin.h"
 #include "reuse.h"
 
-#include <glsl/glslengine.h>
 #include <glsl/glslengine.h>
 #include <glsl/glsllexer.h>
 #include <glsl/glslparser.h>
diff --git a/src/plugins/glsleditor/glsleditoractionhandler.h b/src/plugins/glsleditor/glsleditoractionhandler.h
index 53aeb7bbfa1..ca55ff1b45c 100644
--- a/src/plugins/glsleditor/glsleditoractionhandler.h
+++ b/src/plugins/glsleditor/glsleditoractionhandler.h
@@ -27,8 +27,8 @@
 **
 ****************************************************************************/
 
-#ifndef GLSLDITORACTIONHANDLER_H
-#define GLSLDITORACTIONHANDLER_H
+#ifndef GLSLEDITORACTIONHANDLER_H
+#define GLSLEDITORACTIONHANDLER_H
 
 #include <texteditor/texteditoractionhandler.h>
 
@@ -48,4 +48,4 @@ public:
 } // namespace Internal
 } // namespace GLSLEditor
 
-#endif // GLSLDITORACTIONHANDLER_H
+#endif // GLSLEDITORACTIONHANDLER_H
diff --git a/src/plugins/glsleditor/glslfilewizard.cpp b/src/plugins/glsleditor/glslfilewizard.cpp
index fde38a2eb97..4d1c42ba90b 100644
--- a/src/plugins/glsleditor/glslfilewizard.cpp
+++ b/src/plugins/glsleditor/glslfilewizard.cpp
@@ -27,12 +27,11 @@
 **
 ****************************************************************************/
 
-#include "glsleditorconstants.h"
 #include "glslfilewizard.h"
+#include "glsleditorconstants.h"
 
 #include <utils/filewizarddialog.h>
 #include <utils/qtcassert.h>
-#include <utils/filewizarddialog.h>
 
 #include <QFileInfo>
 #include <QTextStream>
-- 
GitLab