]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.h
Show branches from master document in branch inset dialog
[lyx.git] / src / CutAndPaste.h
index e4ff08b36595ed16c2eb2d4ce5ec7518ca98690b..664033209c890f452c0f17923e13ea1fc4db8b87 100644 (file)
@@ -133,10 +133,14 @@ void pasteParagraphList(Cursor & cur, ParagraphList const & parlist,
 
 /** Needed to switch between different classes. This works
  *  for a list of paragraphs beginning with the specified par.
- *  It changes layouts and character styles.
+ *  It changes layouts and character styles. Errors are reported
+ *  in the passed ErrorList.
  */
 void switchBetweenClasses(DocumentClassConstPtr oldone,
-                       DocumentClassConstPtr newone, InsetText & in, ErrorList &);
+            DocumentClassConstPtr newone, InsetText & in, ErrorList & el);
+/// Same but without error reporting.
+void switchBetweenClasses(DocumentClassConstPtr oldone,
+            DocumentClassConstPtr newone, InsetText & in);
 
 /// Get the current selection as a string. Does not change the selection.
 /// Does only work if the whole selection is in mathed.