]> git.lyx.org Git - lyx.git/blobdiff - src/Counters.cpp
Limit the nopassthurchars case in beamer to URL
[lyx.git] / src / Counters.cpp
index 6f04105227b25110c653ec6313c8c9c45b4d7807..703125f537f16d4a84723d16f0d40cb0f494906f 100644 (file)
@@ -15,7 +15,6 @@
 
 #include "Counters.h"
 #include "Layout.h"
-#include "Lexer.h"
 
 #include "support/convert.h"
 #include "support/counter_reps.h"
@@ -23,6 +22,7 @@
 #include "support/docstring.h"
 #include "support/gettext.h"
 #include "support/lassert.h"
+#include "support/Lexer.h"
 #include "support/lstrings.h"
 
 #include <algorithm>
@@ -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;