mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
merge two if's that tested the same condition.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9127 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e442f7ec3e
commit
f6a49ae0f7
@ -1,3 +1,7 @@
|
||||
2004-10-25 José Matos <jamatos@lyx.org>
|
||||
|
||||
* output_docbook.C (makeCommand): merge two if's that tested the same condition.
|
||||
|
||||
2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* sgml.C (escapeString): fix warning in a better way
|
||||
|
@ -234,11 +234,8 @@ ParagraphList::const_iterator makeCommand(Buffer const & buf,
|
||||
string id = par->getDocbookId();
|
||||
id = id.empty()? "" : " id = \"" + id + "\"";
|
||||
|
||||
if (bstyle->latexparam().find('#') != string::npos) {
|
||||
counters.step(bstyle->counter);
|
||||
}
|
||||
|
||||
if (!bstyle->latexparam().empty()) {
|
||||
counters.step(bstyle->counter);
|
||||
id = bstyle->latexparam();
|
||||
if (id.find('#') != string::npos) {
|
||||
string el = expandLabel(buf.params().getLyXTextClass(),
|
||||
|
Loading…
Reference in New Issue
Block a user