From 6056db3212555ce5b7c599a350e95e9a4b5d1853 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Thu, 14 Jul 2011 17:00:35 +0000 Subject: [PATCH] Header cleanup. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39300 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/BufferView.cpp | 1 + src/CutAndPaste.cpp | 1 + src/Text3.cpp | 1 + src/frontends/qt4/GuiPrefs.cpp | 1 + src/frontends/qt4/GuiWorkArea.cpp | 1 + src/graphics/GraphicsCacheItem.cpp | 1 + src/graphics/GraphicsTypes.h | 1 - src/insets/ExternalTemplate.cpp | 1 + src/insets/ExternalTemplate.h | 2 ++ src/insets/InsetExternal.cpp | 6 +++--- src/insets/InsetInfo.cpp | 1 + src/insets/InsetNote.cpp | 1 - 12 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/BufferView.cpp b/src/BufferView.cpp index 21f04d6684..7076cc8989 100644 --- a/src/BufferView.cpp +++ b/src/BufferView.cpp @@ -74,6 +74,7 @@ #include "support/ExceptionMessage.h" #include "support/filetools.h" #include "support/gettext.h" +#include "support/lassert.h" #include "support/lstrings.h" #include "support/Package.h" #include "support/types.h" diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index c1dc097592..0d70c2fb47 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -56,6 +56,7 @@ #include "support/debug.h" #include "support/docstream.h" #include "support/gettext.h" +#include "support/lassert.h" #include "support/limited_stack.h" #include "support/lstrings.h" diff --git a/src/Text3.cpp b/src/Text3.cpp index 20f3b6bd1a..bae330704e 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -68,6 +68,7 @@ #include "support/convert.h" #include "support/debug.h" #include "support/gettext.h" +#include "support/lassert.h" #include "support/lstrings.h" #include "support/lyxtime.h" #include "support/os.h" diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp index d77893f67c..11c3e29729 100644 --- a/src/frontends/qt4/GuiPrefs.cpp +++ b/src/frontends/qt4/GuiPrefs.cpp @@ -43,6 +43,7 @@ #include "support/filetools.h" #include "support/foreach.h" #include "support/gettext.h" +#include "support/lassert.h" #include "support/lstrings.h" #include "support/os.h" #include "support/Package.h" diff --git a/src/frontends/qt4/GuiWorkArea.cpp b/src/frontends/qt4/GuiWorkArea.cpp index 3975d3d51a..8d32158a1f 100644 --- a/src/frontends/qt4/GuiWorkArea.cpp +++ b/src/frontends/qt4/GuiWorkArea.cpp @@ -47,6 +47,7 @@ #include "support/debug.h" #include "support/gettext.h" #include "support/FileName.h" +#include "support/lassert.h" #include "frontends/Application.h" #include "frontends/FontMetrics.h" diff --git a/src/graphics/GraphicsCacheItem.cpp b/src/graphics/GraphicsCacheItem.cpp index 8331718218..21f3aee31b 100644 --- a/src/graphics/GraphicsCacheItem.cpp +++ b/src/graphics/GraphicsCacheItem.cpp @@ -25,6 +25,7 @@ #include "support/FileName.h" #include "support/filetools.h" #include "support/FileMonitor.h" +#include "support/lassert.h" #include "support/bind.h" diff --git a/src/graphics/GraphicsTypes.h b/src/graphics/GraphicsTypes.h index 45181d3a8b..90d390cae1 100644 --- a/src/graphics/GraphicsTypes.h +++ b/src/graphics/GraphicsTypes.h @@ -15,7 +15,6 @@ #ifndef GRAPHICSTYPES_H #define GRAPHICSTYPES_H -#include "support/Translator.h" #include "support/strfwd.h" diff --git a/src/insets/ExternalTemplate.cpp b/src/insets/ExternalTemplate.cpp index 4930a97543..6bd02ac47a 100644 --- a/src/insets/ExternalTemplate.cpp +++ b/src/insets/ExternalTemplate.cpp @@ -20,6 +20,7 @@ #include "support/lstrings.h" #include "support/Package.h" #include "support/Path.h" +#include "support/Translator.h" #include diff --git a/src/insets/ExternalTemplate.h b/src/insets/ExternalTemplate.h index 23f1f78802..4392870057 100644 --- a/src/insets/ExternalTemplate.h +++ b/src/insets/ExternalTemplate.h @@ -17,6 +17,8 @@ #include +#include + namespace lyx { namespace support { class FileName; } diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index f3ea34c011..b2cbe813ca 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -36,18 +36,18 @@ #include "graphics/PreviewLoader.h" +#include "support/bind.h" #include "support/convert.h" #include "support/debug.h" #include "support/ExceptionMessage.h" #include "support/filetools.h" #include "support/gettext.h" +#include "support/lassert.h" #include "support/lstrings.h" #include "support/lyxlib.h" -#include "support/Translator.h" - -#include "support/bind.h" #include +#include using namespace std; using namespace lyx::support; diff --git a/src/insets/InsetInfo.cpp b/src/insets/InsetInfo.cpp index 335e1b6a10..2125676867 100644 --- a/src/insets/InsetInfo.cpp +++ b/src/insets/InsetInfo.cpp @@ -39,6 +39,7 @@ #include "support/filetools.h" #include "support/gettext.h" #include "support/lstrings.h" +#include "support/Translator.h" #include diff --git a/src/insets/InsetNote.cpp b/src/insets/InsetNote.cpp index 05ee4f0fbb..da9dd33669 100644 --- a/src/insets/InsetNote.cpp +++ b/src/insets/InsetNote.cpp @@ -50,7 +50,6 @@ namespace lyx { namespace { typedef Translator NoteTranslator; -typedef Translator NoteTranslatorLoc; NoteTranslator const init_notetranslator() { -- 2.39.2