]> git.lyx.org Git - lyx.git/blobdiff - src/bufferview_funcs.C
changelogs
[lyx.git] / src / bufferview_funcs.C
index 0cbb5ae1b91adca0e0e4bf4ccab220f17a2d15ed..5428d11ed15e7eb8406a8e105559115a2d79e469 100644 (file)
@@ -27,7 +27,7 @@
 #include "lyxrow.h"
 #include "paragraph.h"
 #include "ParagraphParameters.h"
-#include "iterators.h"
+#include "pariterator.h"
 
 #include "frontends/Alert.h"
 #include "frontends/LyXView.h"
@@ -35,7 +35,8 @@
 #include "insets/insettext.h"
 
 #include "support/tostr.h"
-#include "support/std_sstream.h"
+
+#include <sstream>
 
 using lyx::support::bformat;
 
@@ -144,11 +145,4 @@ bool string2font(string const & data, LyXFont & font, bool & toggle)
        return (nset > 0);
 }
 
-
-bool changeDepthAllowed(LCursor & cur, LyXText * text, DEPTH_CHANGE type)
-{
-       return cur.bv().available() && text && text->changeDepthAllowed(cur, type);
-}
-
-
 } // namespace bv_funcs