]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
adjust
[lyx.git] / src / Buffer.cpp
index e192c1466514241988da7565f8b2f22b7c5d05bc..6499c89f9bc461d91e97e4575fb036d22a51f08e 100644 (file)
@@ -154,7 +154,7 @@ namespace fs = boost::filesystem;
 
 namespace {
 
-int const LYX_FORMAT = 294; //pavel pdfoptions
+int const LYX_FORMAT = 295; //Uwe: htmlurl, href
 
 } // namespace anon
 
@@ -1834,10 +1834,8 @@ void Buffer::buildMacros()
 
 
 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