]> git.lyx.org Git - lyx.git/blobdiff - src/counters.C
Partial fix bug 2092: branches not propagated to child documents
[lyx.git] / src / counters.C
index 29df4ed5df0cecdcca2470e79867bfac156d2740..2ef261a3d99924e7720af960eeca8e3d230ac28d 100644 (file)
@@ -14,7 +14,6 @@
 
 #include "counters.h"
 #include "debug.h"
-#include "gettext.h"
 
 #include "support/lstrings.h"
 #include "support/convert.h"
@@ -314,24 +313,3 @@ string Counters::counterLabel(string const & format)
        //lyxerr << "counterLabel: " << format  << " -> "       << label << endl;
        return label;
 }
-
-
-string Counters::enumLabel(string const & ctr, Buffer const & buf)
-{
-       string format;
-
-       if (ctr == "enumi") {
-               format = N_("\\arabic{enumi}.");
-       }
-       else if (ctr == "enumii") {
-               format = N_("(\\alph{enumii})");
-       }
-       else if (ctr == "enumiii") { 
-               format = N_("\\roman{enumiii}.");
-       }
-       else if (ctr == "enumiv") {
-               format = N_("\\Alph{enumiv}.");
-       }
-               
-       return counterLabel(buf.B_(format));
-}