From 13e8185afabe561abe16603cc7fd0c25c1983ef3 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 2 Sep 2007 11:46:05 +0000 Subject: [PATCH] header cleanup. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19997 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Text.cpp | 2 -- src/Text2.cpp | 7 ++----- src/Text3.cpp | 2 -- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/Text.cpp b/src/Text.cpp index 019f230152..b86de4cdb7 100644 --- a/src/Text.cpp +++ b/src/Text.cpp @@ -27,7 +27,6 @@ #include "BufferView.h" #include "Cursor.h" #include "ParIterator.h" -#include "CoordCache.h" #include "CutAndPaste.h" #include "debug.h" #include "DispatchResult.h" @@ -42,7 +41,6 @@ #include "Length.h" #include "Lexer.h" #include "LyXRC.h" -#include "MetricsInfo.h" #include "Paragraph.h" #include "paragraph_funcs.h" #include "ParagraphParameters.h" diff --git a/src/Text2.cpp b/src/Text2.cpp index 2b92ef3bf2..b55827be5f 100644 --- a/src/Text2.cpp +++ b/src/Text2.cpp @@ -27,10 +27,8 @@ #include "BufferList.h" #include "BufferParams.h" #include "BufferView.h" -#include "bufferview_funcs.h" #include "Bullet.h" #include "Color.h" -#include "CoordCache.h" #include "Cursor.h" #include "CutAndPaste.h" #include "debug.h" @@ -63,9 +61,6 @@ #include - -namespace lyx { - using std::endl; using std::ostringstream; using std::string; @@ -73,6 +68,8 @@ using std::max; using std::min; using std::istringstream; +namespace lyx { + Text::Text() : current_font(Font::ALL_INHERIT), background_color_(Color::background), diff --git a/src/Text3.cpp b/src/Text3.cpp index 05495d9d3e..1a69796261 100644 --- a/src/Text3.cpp +++ b/src/Text3.cpp @@ -26,7 +26,6 @@ #include "BufferView.h" #include "bufferview_funcs.h" #include "Cursor.h" -#include "CoordCache.h" #include "CutAndPaste.h" #include "debug.h" #include "DispatchResult.h" @@ -40,7 +39,6 @@ #include "LyXFunc.h" #include "Lexer.h" #include "LyXRC.h" -#include "Row.h" #include "Paragraph.h" #include "paragraph_funcs.h" #include "ParagraphParameters.h" -- 2.39.2