]> git.lyx.org Git - lyx.git/blobdiff - src/Compare.cpp
Show branches from master document in branch inset dialog
[lyx.git] / src / Compare.cpp
index 7d90891fa85f94000b5bb7f1dbd4c2d9cfed37ec..17bd0120647843603cdf7e19e205d3042dedf483 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_);
 }