bool const success = speller_->error().empty();
if (!success) {
- // FIXME UNICODE
Alert::error(_("Spellchecker error"),
_("The spellchecker could not be started\n")
+ speller_->error());
}
docstring message;
- // FIXME UNICODE
if (count_ != 1)
message = bformat(_("%1$d words checked."), count_);
else
if (!file.empty()) {
// FIXME UNICODE
- QString const f = toqstr(from_utf8(changeExtension(to_utf8(file), "")));
+ QString const f = toqstr(changeExtension(to_utf8(file), ""));
bool present = false;
for (int i = 0; i < add_->bibLW->count(); ++i) {
BoxType btype = boxtranslator().find(params_.type);
docstring label;
- // FIXME UNICODE
label += _("Box");
label += " (";
if (btype == Frameless) {
else
label += _("Minipage");
} else
- // FXIME unicode
+ // FIXME UNICODE
label += from_utf8(boxtranslator_loc().find(btype));
label += ")";
int InsetCitation::docbook(Buffer const &, odocstream & os, OutputParams const &) const
{
- // FIXME UNICODE
os << "<citation>"
<< from_ascii(cleanupWhitespace(getContents()))
<< "</citation>";
// fill in the real data to be saved
if (cell.inMathed()) {
// simply use the whole cell
- undo.array = to_utf8(asString(cell.cell()));
+ undo.array = asString(cell.cell());
} else {
// some more effort needed here as 'the whole cell' of the
// main LyXText _is_ the whole document.
// gained by storing just 'a few' paragraphs (most if not
// all math inset cells have just one paragraph!)
//lyxerr << "undo.array=" << undo.array <<endl;
- // FIXME UNICODE
- asArray(from_utf8(undo.array), dit.cell());
+ asArray(undo.array, dit.cell());
} else {
// Some finer machinery is needed here.
LyXText * text = dit.text();
/// the contents of the saved Paragraphs (for texted)
ParagraphList pars;
/// the stringified contents of the saved MathArray (for mathed)
- std::string array;
+ docstring array;
/// Only used in case of full backups
BufferParams bparams;
/// Only used in case of full backups