mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
unbreak compilation (part 3)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24633 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ecb715d682
commit
e5d9a230db
@ -223,17 +223,13 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
|||||||
this->operator=(tclass[style]);
|
this->operator=(tclass[style]);
|
||||||
name_ = tmpname;
|
name_ = tmpname;
|
||||||
} else {
|
} else {
|
||||||
lyxerr << "Cannot copy unknown style `"
|
LYXERR0("Cannot copy unknown style `"
|
||||||
<< to_utf8(style) << "'\n"
|
<< style << "'\n"
|
||||||
<< "All layouts so far:"
|
<< "All layouts so far:");
|
||||||
<< endl;
|
|
||||||
DocumentClass::const_iterator lit = tclass.begin();
|
DocumentClass::const_iterator lit = tclass.begin();
|
||||||
DocumentClass::const_iterator len = tclass.end();
|
DocumentClass::const_iterator len = tclass.end();
|
||||||
for (; lit != len; ++lit)
|
for (; lit != len; ++lit)
|
||||||
lyxerr << to_utf8(lit->name()) << endl;
|
LYXERR0(lit->name());
|
||||||
|
|
||||||
//lex.printError("Cannot copy known "
|
|
||||||
// "style `$$Token'");
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -250,8 +246,8 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
|
|||||||
if (obsoleted_by().empty())
|
if (obsoleted_by().empty())
|
||||||
obsoleted_by_ = style;
|
obsoleted_by_ = style;
|
||||||
} else {
|
} else {
|
||||||
lyxerr << "Cannot replace with unknown style `"
|
LYXERR0("Cannot replace with unknown style `"
|
||||||
<< to_utf8(style) << '\'' << endl;
|
<< style << '\'');
|
||||||
|
|
||||||
//lex.printError("Cannot replace with"
|
//lex.printError("Cannot replace with"
|
||||||
// " unknown style "
|
// " unknown style "
|
||||||
@ -650,8 +646,7 @@ void Layout::readEndLabelType(Lexer & lex)
|
|||||||
endlabeltype = static_cast<EndLabelType>(le);
|
endlabeltype = static_cast<EndLabelType>(le);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LYXERR0("Unhandled value " << le
|
LYXERR0("Unhandled value " << le);
|
||||||
<< " in Layout::readEndLabelType.");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -682,8 +677,7 @@ void Layout::readMargin(Lexer & lex)
|
|||||||
margintype = static_cast<MarginType>(le);
|
margintype = static_cast<MarginType>(le);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lyxerr << "Unhandled value " << le
|
LYXERR0("Unhandled value " << le);
|
||||||
<< " in Layout::readMargin." << endl;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -715,8 +709,7 @@ void Layout::readLatexType(Lexer & lex)
|
|||||||
latextype = static_cast<LatexType>(le);
|
latextype = static_cast<LatexType>(le);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lyxerr << "Unhandled value " << le
|
LYXERR0("Unhandled value " << le);
|
||||||
<< " in Layout::readLatexType." << endl;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user