commit 95cc596b7d58bb83af48d957eabf35c55a8258ff
Author: Richard Kimberly Heck <[email protected]>
Date:   Sat Jul 29 14:41:22 2023 -0400

    Fix reference to temporary
---
 src/Counters.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Counters.cpp b/src/Counters.cpp
index 6f04105..114b180 100644
--- a/src/Counters.cpp
+++ b/src/Counters.cpp
@@ -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;
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to