namespace {
-int const LYX_FORMAT = 294; //pavel pdfoptions
+int const LYX_FORMAT = 295; //Uwe: htmlurl, href
} // namespace anon
}
lex.next();
- string const token(lex.getString());
+ string const token = lex.getString();
if (!lex) {
Alert::error(_("Document could not be read"),
void Buffer::changeRefsIfUnique(docstring const & from, docstring const & to,
- int inset_code)
+ InsetCode code)
{
- InsetCode code = static_cast<InsetCode>(inset_code);
-
//FIXME: This does not work for child documents yet.
BOOST_ASSERT(code == CITE_CODE || code == REF_CODE);
// Check if the label 'from' appears more than once