]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtextclass.C
* src/text3.C (doDispatch):
[lyx.git] / src / lyxtextclass.C
index 924fae7cc360c3cf760f183dd98c0fd7c8767770..71e825483d993d742b959592f9816dc27229d15b 100644 (file)
@@ -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: