mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
* src/paragraph.C: remove unused sgmlLineBreak()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16711 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
581e909b93
commit
28d94b4c96
@ -1146,18 +1146,6 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf,
|
||||
|
||||
namespace {
|
||||
|
||||
// checks, if newcol chars should be put into this line
|
||||
// writes newline, if necessary.
|
||||
void sgmlLineBreak(ostream & os, string::size_type & colcount,
|
||||
string::size_type newcol)
|
||||
{
|
||||
colcount += newcol;
|
||||
if (colcount > lyxrc.plaintext_linelen) {
|
||||
os << "\n";
|
||||
colcount = newcol; // assume write after this call
|
||||
}
|
||||
}
|
||||
|
||||
enum PAR_TAG {
|
||||
PAR_NONE=0,
|
||||
TT = 1,
|
||||
|
Loading…
Reference in New Issue
Block a user