mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Style.
This commit is contained in:
parent
de00ce40aa
commit
319e35188a
@ -561,7 +561,7 @@ docstring const BibTeXInfo::getLabel(BibTeXInfo const * const xref,
|
||||
Buffer const & buf, string const & format, bool richtext,
|
||||
docstring before, docstring after, docstring dialog, bool next) const
|
||||
{
|
||||
docstring loclabel_;
|
||||
docstring loclabel;
|
||||
|
||||
/*
|
||||
if (!is_bibtex_) {
|
||||
@ -572,12 +572,12 @@ docstring const BibTeXInfo::getLabel(BibTeXInfo const * const xref,
|
||||
*/
|
||||
|
||||
int counter = 0;
|
||||
loclabel_ = expandFormat(format, xref, counter, buf, richtext,
|
||||
loclabel = expandFormat(format, xref, counter, buf, richtext,
|
||||
before, after, dialog, next);
|
||||
|
||||
if (!loclabel_.empty())
|
||||
loclabel_ = convertLaTeXCommands(loclabel_);
|
||||
return loclabel_;
|
||||
if (!loclabel.empty())
|
||||
loclabel = convertLaTeXCommands(loclabel);
|
||||
return loclabel;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user