mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +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;
|
||||
|
||||
docstring const value = theCounter(name, lang);
|
||||
docstring const & format =
|
||||
docstring const format =
|
||||
translateIfPossible(counterLabel(ctr.refFormat(prex), lang), lang);
|
||||
if (format.empty())
|
||||
return value;
|
||||
|
Loading…
Reference in New Issue
Block a user