From 28d94b4c96b77a10547ac887eb6e5fff431f535f Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Tue, 16 Jan 2007 22:11:00 +0000 Subject: [PATCH] * src/paragraph.C: remove unused sgmlLineBreak() git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16711 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/paragraph.C b/src/paragraph.C index 5aed7d5899..f360d4b5d5 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -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, -- 2.39.5