if (par.bibitem())
par.bibitem()->setCounter(number);
// FIXME UNICODE
- par.params().labelString(buf.B_(lyx::to_ascii(layout->labelstring())));
+ par.params().labelString(buf.B_(to_ascii(layout->labelstring())));
// In biblio should't be following counters but...
} else if (layout->labeltype == LABEL_SENSITIVE) {
// Search for the first float or wrap inset in the iterator
- string type;
+ docstring type;
size_t i = it.depth();
while (i > 0) {
--i;
docstring s;
if (!type.empty()) {
- Floating const & fl = textclass.floats().getType(type);
+ Floating const & fl = textclass.floats().getType(to_ascii(type));
// FIXME UNICODE
counters.step(from_ascii(fl.type()));
} else {
// par->SetLayout(0);
// FIXME UNICODE
- s = buf.B_(lyx::to_ascii(layout->labelstring()));
+ s = buf.B_(to_ascii(layout->labelstring()));
}
par.params().labelString(s);
par.params().labelString(docstring());
else
// FIXME UNICODE
- par.params().labelString(buf.B_(lyx::to_ascii(layout->labelstring())));
+ par.params().labelString(buf.B_(to_ascii(layout->labelstring())));
}
} // anon namespace
LyXTextClass const & tclass = buf.params().getLyXTextClass();
// FIXME UNICODE
- docstring fmt = buf.B_(lyx::to_ascii(appendix ? layout->labelstring_appendix()
+ docstring fmt = buf.B_(to_ascii(appendix ? layout->labelstring_appendix()
: layout->labelstring()));
// handle 'inherited level parts' in 'fmt',