mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Revert "Slight code-consistency improvements."
This reverts commit 6bcc0155b6
.
This commit is contained in:
parent
dedeb885f8
commit
ab4f22beb9
@ -189,7 +189,7 @@ namespace {
|
||||
|
||||
// convenience functions
|
||||
|
||||
void openParTag(XMLStream & xs, Layout const & lay)
|
||||
void openParTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
if (lay.docbookwrappertag() != "NONE") {
|
||||
xs << xml::StartTag(lay.docbookwrappertag(), lay.docbookwrapperattr());
|
||||
@ -203,7 +203,7 @@ void openParTag(XMLStream & xs, Layout const & lay)
|
||||
}
|
||||
|
||||
|
||||
void closeTag(XMLStream & xs, Layout const & lay)
|
||||
void closeTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
string tag = lay.docbooktag();
|
||||
if (tag == "Plain Layout")
|
||||
@ -228,14 +228,14 @@ void closeLabelTag(XMLStream & xs, Layout const & lay)
|
||||
}
|
||||
|
||||
|
||||
void openItemTag(XMLStream & xs, Layout const & lay)
|
||||
void openItemTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
xs << xml::StartTag(lay.docbookitemtag(), lay.docbookitemattr());
|
||||
}
|
||||
|
||||
|
||||
// Return true when new elements are output in a paragraph, false otherwise.
|
||||
bool openInnerItemTag(XMLStream & xs, Layout const & lay)
|
||||
bool openInnerItemTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
if (lay.docbookiteminnertag() != "NONE") {
|
||||
xs << xml::CR();
|
||||
@ -249,7 +249,7 @@ bool openInnerItemTag(XMLStream & xs, Layout const & lay)
|
||||
}
|
||||
|
||||
|
||||
void closeInnerItemTag(XMLStream & xs, Layout const & lay)
|
||||
void closeInnerItemTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
if (lay.docbookiteminnertag()!= "NONE") {
|
||||
xs << xml::EndTag(lay.docbookiteminnertag());
|
||||
@ -258,7 +258,7 @@ void closeInnerItemTag(XMLStream & xs, Layout const & lay)
|
||||
}
|
||||
|
||||
|
||||
inline void closeItemTag(XMLStream & xs, Layout const & lay)
|
||||
inline void closeItemTag(XMLStream &xs, Layout const &lay)
|
||||
{
|
||||
xs << xml::EndTag(lay.docbookitemtag());
|
||||
xs << xml::CR();
|
||||
|
Loading…
Reference in New Issue
Block a user