]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
architectural changes to tex2lyx
[lyx.git] / src / CutAndPaste.C
index 6f7b997c8fa407684184b892e209e0f0981b78ff..36c863428ff1f183dce6c9092f39c18c789aea12 100644 (file)
@@ -300,7 +300,7 @@ CutAndPaste::pasteSelection(Buffer const & buffer,
 
                for (; lit != eit; ++lit) {
                        switch (lit->inset->lyxCode()) {
-                       case Inset::INCLUDE_CODE: {
+                       case InsetOld::INCLUDE_CODE: {
                                InsetInclude * ii = static_cast<InsetInclude*>(lit->inset);
                                InsetInclude::Params ip = ii->params();
                                ip.masterFilename_ = buffer.fileName();
@@ -308,7 +308,7 @@ CutAndPaste::pasteSelection(Buffer const & buffer,
                                break;
                        }
 
-                       case Inset::TABULAR_CODE: {
+                       case InsetOld::TABULAR_CODE: {
                                InsetTabular * it = static_cast<InsetTabular*>(lit->inset);
                                it->buffer(const_cast<Buffer*>(&buffer));
                                break;