]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.h
Extracted from r14281
[lyx.git] / src / CutAndPaste.h
index 39cae9788330da11c323725bd8ad49ed14b79cbf..c92bb3a24ffeb3c156012929ffe7a46c3cfd050a 100644 (file)
@@ -23,6 +23,7 @@
 
 class Buffer;
 class ErrorList;
+class InsetText;
 class LyXTextClass;
 class LCursor;
 
@@ -66,10 +67,9 @@ void pasteParagraphList(LCursor & cur, ParagraphList const & parlist,
  *  for a list of paragraphs beginning with the specified par.
  *  It changes layouts and character styles.
  */
-void SwitchBetweenClasses(lyx::textclass_type c1,
-                               lyx::textclass_type c2,
-                               ParagraphList & par,
-                               ErrorList &);
+void switchBetweenClasses(lyx::textclass_type c1,
+                          lyx::textclass_type c2,
+                          InsetText & in, ErrorList &);
 
 // only used by the spellchecker
 void replaceWord(LCursor & cur, std::string const & replacestring);