Fix types.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23305 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-02-28 07:18:54 +00:00
parent a6f8f273e9
commit 77f2d2e7d2
2 changed files with 3 additions and 3 deletions

View File

@ -2348,7 +2348,7 @@ void Paragraph::setLayout(LayoutPtr const & layout)
} }
void Paragraph::setEmptyOrDefaultLayout(TextClass const & tclass) void Paragraph::setEmptyOrDefaultLayout(DocumentClass const & tclass)
{ {
if (useEmptyLayout()) if (useEmptyLayout())
setLayout(tclass.emptyLayout()); setLayout(tclass.emptyLayout());

View File

@ -33,6 +33,7 @@ class Change;
class Counters; class Counters;
class Cursor; class Cursor;
class CursorSlice; class CursorSlice;
class DocumentClass;
class Inset; class Inset;
class InsetBibitem; class InsetBibitem;
class LaTeXFeatures; class LaTeXFeatures;
@ -45,7 +46,6 @@ class MetricsInfo;
class OutputParams; class OutputParams;
class PainterInfo; class PainterInfo;
class ParagraphParameters; class ParagraphParameters;
class TextClass;
class TexRow; class TexRow;
@ -157,7 +157,7 @@ public:
/// ///
void setLayout(LayoutPtr const & layout); 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 /// This is the item depth, only used by enumerate and itemize
signed char itemdepth; signed char itemdepth;