small Paragraph* -> ParagraphList::iterator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6921 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-05-02 10:06:07 +00:00
parent 12d02d04b2
commit acae34cdc8
5 changed files with 17 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2003-05-02 André Pönitz <poenitz@gmx.net>
* buffer.[Ch]: one instance of Paragraph * -> ParagraphList::iterator
2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
* undo_funcs.C: almost only ws changes.

View File

@ -1319,7 +1319,7 @@ void Buffer::makeLinuxDocFile(string const & fname, bool nice, bool body_only)
break;
}
simpleLinuxDocOnePar(ofs, &*pit, depth);
simpleLinuxDocOnePar(ofs, pit, depth);
ofs << "\n";
// write closing SGML tags
@ -1412,8 +1412,8 @@ void reset(PAR_TAG & p1, PAR_TAG const & p2)
// Handle internal paragraph parsing -- layout already processed.
void Buffer::simpleLinuxDocOnePar(ostream & os,
Paragraph * par,
Paragraph::depth_type /*depth*/)
ParagraphList::iterator par,
Paragraph::depth_type /*depth*/) const
{
LyXLayout_ptr const & style = par->layout();

View File

@ -156,10 +156,11 @@ public:
///
void simpleDocBookOnePar(std::ostream &,
ParagraphList::iterator par, int & desc_on,
Paragraph::depth_type depth) const ;
Paragraph::depth_type depth) const;
///
void simpleLinuxDocOnePar(std::ostream & os, Paragraph * par,
Paragraph::depth_type depth);
void simpleLinuxDocOnePar(std::ostream & os,
ParagraphList::iterator par,
Paragraph::depth_type depth) const;
///
void makeLinuxDocFile(string const & filename,
bool nice, bool only_body = false);

View File

@ -1,3 +1,7 @@
2003-05-02 André Pönitz <poenitz@gmx.net>
* insettext.C: remove unneeded &*
2003-04-30 John Levon <levon@movementarian.org>
* insettabular.C: fix edit message

View File

@ -1637,7 +1637,7 @@ int InsetText::docbook(Buffer const * buf, ostream & os, bool mixcont) const
break;
}
buf->simpleDocBookOnePar(os, &*pit, desc_on, depth + 1 + command_depth);
buf->simpleDocBookOnePar(os, pit, desc_on, depth + 1 + command_depth);
string end_tag;
// write closing SGML tags