mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 22:49:20 +00:00
Fix reference to temporary
This commit is contained in:
parent
7fb3773e60
commit
95cc596b7d
@ -631,7 +631,7 @@ docstring Counters::formattedCounter(docstring const & name,
|
|||||||
Counter const & ctr = it->second;
|
Counter const & ctr = it->second;
|
||||||
|
|
||||||
docstring const value = theCounter(name, lang);
|
docstring const value = theCounter(name, lang);
|
||||||
docstring const & format =
|
docstring const format =
|
||||||
translateIfPossible(counterLabel(ctr.refFormat(prex), lang), lang);
|
translateIfPossible(counterLabel(ctr.refFormat(prex), lang), lang);
|
||||||
if (format.empty())
|
if (format.empty())
|
||||||
return value;
|
return value;
|
||||||
|
Loading…
Reference in New Issue
Block a user