]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
Fix compiler warning about unused string consts
[lyx.git] / src / Compare.cpp
index 7d90891fa85f94000b5bb7f1dbd4c2d9cfed37ec..82236aa8de7f5eea7af0d69ec15d2ff8bf2b6290 100644 (file)
@@ -407,10 +407,9 @@ void Compare::run()
        // new buffer with the document class from wherever they came from.
        // So we need to reset the document class of all the paragraphs.
        // See bug #10295.
-       ErrorList el;
        cap::switchBetweenClasses(
                        olddc, dest_buffer->params().documentClassPtr(),
-                       static_cast<InsetText &>(dest_buffer->inset()), el);
+                       static_cast<InsetText &>(dest_buffer->inset()));
 
        finished(pimpl_->abort_);
 }
@@ -867,7 +866,7 @@ void Compare::Impl::writeToDestBuffer(DocRange const & range,
        // Set the change
        ParagraphList::iterator it = pars.begin();
        for (; it != pars.end(); ++it) {
-               it->setChange(Change(type));
+               it->setChange(Change(type, compare_.options_.author));
                size += it->size();
        }