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;