#include "CutAndPaste.h"
+#include "BaseClassList.h"
#include "Buffer.h"
#include "buffer_funcs.h"
#include "BufferParams.h"
#include "LyXFunc.h"
#include "LyXRC.h"
#include "Text.h"
-#include "TextClassList.h"
#include "Paragraph.h"
#include "paragraph_funcs.h"
#include "ParagraphParameters.h"
void switchBetweenClasses(TextClassPtr const & oldone,
- TextClassPtr const & newone, InsetText & in, ErrorList & errorlist)
+ TextClassPtr const & newone, InsetText & in, ErrorList & errorlist)
{
errorlist.clear();
PitPosPair ppp;
boost::tie(ppp, endpit) =
- pasteSelectionHelper(cur, parlist,
- textclass, errorList);
+ pasteSelectionHelper(cur, parlist, textclass, errorList);
updateLabels(cur.buffer());
cur.clearSelection();
text->setCursor(cur, ppp.first, ppp.second);
}
-void pasteClipboardGraphics(Cursor & cur, ErrorList & errorList,
+void pasteClipboardGraphics(Cursor & cur, ErrorList & /* errorList */,
Clipboard::GraphicsType preferedType)
{
BOOST_ASSERT(theClipboard().hasGraphicsContents(preferedType));