]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.C
remove CXX_WORKING_NAMESPACES
[lyx.git] / src / CutAndPaste.C
index 6e0c7c117b14acb69750241b878dcebd6f4912c7..82e14306a175e4ebc57bd1b0694a050eaaa96506 100644 (file)
@@ -291,7 +291,7 @@ bool CutAndPaste::copySelection(LyXParagraph * startpar, LyXParagraph * endpar,
 bool CutAndPaste::pasteSelection(LyXParagraph ** par, LyXParagraph ** endpar,
                                 int & pos, char tc)
 {
-    if (!checkPastePossible(*par, pos))
+    if (!checkPastePossible(*par))
        return false;
 
 #ifndef NEW_INSETS
@@ -537,7 +537,7 @@ int CutAndPaste::SwitchLayoutsBetweenClasses(LyXTextClassList::size_type c1,
 }
 
 
-bool CutAndPaste::checkPastePossible(LyXParagraph * par, int)
+bool CutAndPaste::checkPastePossible(LyXParagraph * par)
 {
     if (!buf) return false;