]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.C
* src/tabular.[Ch]: simplify plaintext methods, because there
[lyx.git] / src / lyxtextclass.C
index 924fae7cc360c3cf760f183dd98c0fd7c8767770..cdda271a71d942a40660e246fcc891867197cc9d 100644 (file)
@@ -65,7 +65,7 @@ private:
 };
 
 
-int const FORMAT = 2;
+int const FORMAT = 3;
 
 
 bool layout2layout(FileName const & filename, FileName const & tempfile)
@@ -822,12 +822,12 @@ void LyXTextClass::readCounter(LyXLex & lexrc)
                switch (static_cast<CounterTags>(le)) {
                case CT_NAME:
                        lexrc.next();
-                       name = lyx::from_ascii(lexrc.getString());
+                       name = from_ascii(lexrc.getString());
                        break;
                case CT_WITHIN:
                        lexrc.next();
-                       within = lyx::from_ascii(lexrc.getString());
-                       if (within == lyx::from_ascii("none"))
+                       within = from_ascii(lexrc.getString());
+                       if (within == "none")
                                within.erase();
                        break;
                case CT_END: