while (true) {
size_t const nxtpos1 = text.find(' ', curpos);
size_t const nxtpos2 = text.find('\n', curpos);
while (true) {
size_t const nxtpos1 = text.find(' ', curpos);
size_t const nxtpos2 = text.find('\n', curpos);
int default_button, int cancel_button,
docstring const & b1, docstring const & b2, docstring const & b3)
{
int default_button, int cancel_button,
docstring const & b1, docstring const & b2, docstring const & b3)
{
- case 0: lyxerr << to_utf8(b1) << endl;
- case 1: lyxerr << to_utf8(b2) << endl;
- case 2: lyxerr << to_utf8(b3) << endl;
+ case 0: lyxerr << b1 << endl;
+ case 1: lyxerr << b2 << endl;
+ case 2: lyxerr << b3 << endl;
int res = QMessageBox::information(qApp->focusWidget(),
toqstr(title),
toqstr(formatted(question)),
int res = QMessageBox::information(qApp->focusWidget(),
toqstr(title),
toqstr(formatted(question)),
void information(docstring const & title0, docstring const & message)
{
if (!use_gui || lyxerr.debugging())
void information(docstring const & title0, docstring const & message)
{
if (!use_gui || lyxerr.debugging())