From 75637c0dd82f0f7497671310542e85cae478a99b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 30 Apr 2007 22:02:15 +0000 Subject: [PATCH] remove RowList_fwd.h. Not really needed git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18135 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Makefile.am | 1 - src/Paragraph.h | 2 +- src/ParagraphMetrics.h | 9 +++++++++ src/RowList_fwd.h | 35 ----------------------------------- src/insets/InsetText.h | 1 - 5 files changed, 10 insertions(+), 38 deletions(-) delete mode 100644 src/RowList_fwd.h diff --git a/src/Makefile.am b/src/Makefile.am index a7ca2db446..d481460628 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -222,7 +222,6 @@ lyx_SOURCES = \ PrinterParams.h \ Row.cpp \ Row.h \ - RowList_fwd.h \ rowpainter.cpp \ rowpainter.h \ Session.cpp \ diff --git a/src/Paragraph.h b/src/Paragraph.h index 038eadb96c..3a39620c85 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -20,7 +20,7 @@ #include "Dimension.h" #include "InsetList.h" #include "lyxlayout_ptr_fwd.h" -#include "RowList_fwd.h" +#include "Row.h" #include "insets/Inset.h" // only for Inset::Code diff --git a/src/ParagraphMetrics.h b/src/ParagraphMetrics.h index 7c0992705b..78ace39b1f 100644 --- a/src/ParagraphMetrics.h +++ b/src/ParagraphMetrics.h @@ -21,6 +21,13 @@ namespace lyx { +/** + * Each paragraph is broken up into a number of rows on the screen. + * This is a list of such on-screen rows, ordered from the top row + * downwards. + */ +typedef std::vector RowList; + class MetricsInfo; class PainterInfo; @@ -72,6 +79,8 @@ public: void dump() const; private: + /// + typedef std::vector RowSignature; /// size_type calculateRowSignature(Row const &); /// diff --git a/src/RowList_fwd.h b/src/RowList_fwd.h deleted file mode 100644 index 709b090b1f..0000000000 --- a/src/RowList_fwd.h +++ /dev/null @@ -1,35 +0,0 @@ -// -*- C++ -*- -/** - * \file RowList_fwd.h - * This file is part of LyX, the document processor. - * Licence details can be found in the file COPYING. - * - * \author Angus Leeming - * - * Full author contact details are available in file CREDITS. - */ - -#ifndef ROW_LIST_FWD_H -#define ROW_LIST_FWD_H - -#include "Row.h" - -#include -#include - - -namespace lyx { - -/** - * Each paragraph is broken up into a number of rows on the screen. - * This is a list of such on-screen rows, ordered from the top row - * downwards. - */ -typedef std::vector RowList; -/// -typedef std::vector RowSignature; - - -} // namespace lyx - -#endif diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index b0f60cb9e2..90b7c03060 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -13,7 +13,6 @@ #define INSETTEXT_H #include "Inset.h" -#include "RowList_fwd.h" #include "Font.h" #include "Text.h" -- 2.39.2