X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finseterror.C;h=74c0cc7c793e953d00f6ba05b5fcd0af1f5a4562;hb=5f3f9ad231bc0c24d34c00e3936e226d9834589a;hp=261536fbf7c4895310bfcfc60e0b160094ed98d0;hpb=1d7d3cc4afa2205c801ccc2aa71c7ac59359dc5f;p=lyx.git diff --git a/src/insets/inseterror.C b/src/insets/inseterror.C index 261536fbf7..74c0cc7c79 100644 --- a/src/insets/inseterror.C +++ b/src/insets/inseterror.C @@ -26,6 +26,7 @@ InsetError::InsetError() form = 0; } + InsetError::InsetError(string const & str) : contents(str) { @@ -88,16 +89,17 @@ void InsetError::Draw(LyXFont font, LyXScreen & scr, } -void InsetError::Write(FILE *) +void InsetError::Write(ostream &) { } + void InsetError::Read(LyXLex &) { } -int InsetError::Latex(FILE *, signed char /*fragile*/) +int InsetError::Latex(ostream &, signed char /*fragile*/) { return 0; } @@ -181,7 +183,7 @@ void InsetError::Edit(int, int) } -InsetError * InsetError::Clone() const +Inset * InsetError::Clone() const { return new InsetError(contents); }