]> git.lyx.org Git - lyx.git/blobdiff - src/CutAndPaste.cpp
Make oultliner icons same size as the toolbar icons
[lyx.git] / src / CutAndPaste.cpp
index 4d90c6c120daacaf2dcbe3ea9fc3561cc4120605..ccde5878f9255c7eeb0bda2d6d81280b0103e228 100644 (file)
@@ -68,9 +68,8 @@
 #include "frontends/Clipboard.h"
 #include "frontends/Selection.h"
 
-#include <boost/tuple/tuple.hpp>
-
 #include <string>
+#include <tuple>
 
 using namespace std;
 using namespace lyx::support;
@@ -876,11 +875,9 @@ void cutSelection(Cursor & cur, bool doclear, bool realcut)
                if (begpit != endpit)
                        cur.screenUpdateFlags(Update::Force | Update::FitCursor);
 
-               boost::tie(endpit, endpos) =
-                       eraseSelectionHelper(bp,
-                               text->paragraphs(),
-                               begpit, endpit,
-                               cur.selBegin().pos(), endpos);
+               tie(endpit, endpos) =
+                       eraseSelectionHelper(bp, text->paragraphs(), begpit, endpit,
+                                            cur.selBegin().pos(), endpos);
 
                // cutSelection can invalidate the cursor so we need to set
                // it anew. (Lgb)