These patches remove unused stuff in both 1.4 and 1.5. Going in now.
JMarc
Index: src/BufferView.C =================================================================== --- src/BufferView.C (revision 14684) +++ src/BufferView.C (working copy) @@ -20,7 +20,6 @@ #include "bufferlist.h" #include "bufferparams.h" #include "BufferView_pimpl.h" -#include "CutAndPaste.h" #include "coordcache.h" #include "debug.h" #include "funcrequest.h" @@ -49,8 +48,6 @@ using lyx::support::bformat; -using lyx::cap::setSelectionRange; - using std::distance; using std::find; using std::string; Index: src/BufferView.C =================================================================== --- src/BufferView.C (revision 14684) +++ src/BufferView.C (working copy) @@ -20,7 +20,6 @@ #include "bufferlist.h" #include "bufferparams.h" #include "BufferView_pimpl.h" -#include "CutAndPaste.h" #include "coordcache.h" #include "debug.h" #include "funcrequest.h" @@ -49,8 +48,6 @@ using lyx::support::bformat; -using lyx::cap::setSelectionRange; - using std::distance; using std::find; using std::string;
Index: src/BufferView.h =================================================================== --- src/BufferView.h (revision 14684) +++ src/BufferView.h (working copy) @@ -148,9 +148,6 @@ public: /// return the lyxtext we are using LyXText const * getLyXText() const; - /// simple replacing. Use the font of the first selected character - void replaceSelectionWithString(std::string const & str); - /// move cursor to the named label void gotoLabel(std::string const & label);