insetpagebreak: fix screen representation & ascii output

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8012 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2003-11-01 14:09:35 +00:00
parent d66e61a93c
commit eeb6a77860
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* insetpagebreak.C: fix screen representation & ascii output.
2003-11-01 Alfredo Braunstein <abraunst@libero.it>
* inset.[Ch]:

View File

@ -1,5 +1,5 @@
/**
* \file insetline.C
* \file insetpagebreak.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
@ -49,8 +49,6 @@ void InsetPagebreak::metrics(MetricsInfo & mi, Dimension & dim) const
void InsetPagebreak::draw(PainterInfo & pi, int x, int y) const
{
static std::string const label = _("Page Break");
pi.pain.line(x, y, x + dim_.wid, y, LColor::topline, Painter::line_solid,
Painter::line_thick);
LyXFont font;
font.setColor(LColor::pagebreak);
@ -85,7 +83,7 @@ int InsetPagebreak::latex(Buffer const &, ostream & os,
int InsetPagebreak::ascii(Buffer const &, ostream & os,
LatexRunParams const &) const
{
os << "-------------------------------------------";
os << '\n';
return 0;
}