From 77f2d2e7d291b38462aba49aa7c070cf0ae3e179 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 28 Feb 2008 07:18:54 +0000 Subject: [PATCH] Fix types. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23305 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/Paragraph.cpp | 2 +- src/Paragraph.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Paragraph.cpp b/src/Paragraph.cpp index 176ad2eec3..1cbb3f3163 100644 --- a/src/Paragraph.cpp +++ b/src/Paragraph.cpp @@ -2348,7 +2348,7 @@ void Paragraph::setLayout(LayoutPtr const & layout) } -void Paragraph::setEmptyOrDefaultLayout(TextClass const & tclass) +void Paragraph::setEmptyOrDefaultLayout(DocumentClass const & tclass) { if (useEmptyLayout()) setLayout(tclass.emptyLayout()); diff --git a/src/Paragraph.h b/src/Paragraph.h index 6597d0b0fb..0c9c94c8d2 100644 --- a/src/Paragraph.h +++ b/src/Paragraph.h @@ -33,6 +33,7 @@ class Change; class Counters; class Cursor; class CursorSlice; +class DocumentClass; class Inset; class InsetBibitem; class LaTeXFeatures; @@ -45,7 +46,6 @@ class MetricsInfo; class OutputParams; class PainterInfo; class ParagraphParameters; -class TextClass; class TexRow; @@ -157,7 +157,7 @@ public: /// void setLayout(LayoutPtr const & layout); /// - void setEmptyOrDefaultLayout(TextClass const & tc); + void setEmptyOrDefaultLayout(DocumentClass const & tc); /// This is the item depth, only used by enumerate and itemize signed char itemdepth;