X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FCutAndPaste.h;h=c92bb3a24ffeb3c156012929ffe7a46c3cfd050a;hb=ae348f8af96100a154b3792d27732d621d44ec89;hp=39cae9788330da11c323725bd8ad49ed14b79cbf;hpb=3b9338a3a8ba33fbbdf2c77cbffb3ff50d8fad86;p=lyx.git diff --git a/src/CutAndPaste.h b/src/CutAndPaste.h index 39cae97883..c92bb3a24f 100644 --- a/src/CutAndPaste.h +++ b/src/CutAndPaste.h @@ -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);