mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
12d02d04b2
commit
acae34cdc8
@ -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.
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user