]> git.lyx.org Git - features.git/blobdiff - src/paragraph_funcs.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / paragraph_funcs.C
index 1cac51313c4b343f3f80fad53a92e0542a5ab4c0..b2794d996adbd7bd655db5053a041450d99551f4 100644 (file)
@@ -30,8 +30,8 @@
 #include "support/filetools.h"
 #include "support/lstrings.h"
 #include "support/lyxlib.h"
-#include "support/std_sstream.h"
 
+#include <sstream>
 #include <vector>
 
 using lyx::pos_type;
@@ -306,8 +306,8 @@ par_type outerPar(Buffer const & buf, InsetBase const * inset)
                        if (&text->paragraphs() == &pit.plist())
                                return pit.outerPar();
 
-               InsetList::iterator ii = pit->insetlist.begin();
-               InsetList::iterator iend = pit->insetlist.end();
+               InsetList::const_iterator ii = pit->insetlist.begin();
+               InsetList::const_iterator iend = pit->insetlist.end();
                for ( ; ii != iend; ++ii)
                        if (ii->inset == inset)
                                return pit.outerPar();
@@ -341,7 +341,7 @@ Paragraph const & ownerPar(Buffer const & buf, InsetBase const * inset)
 }
 
 
-/// return the range of pars [beg, end[ owning the range of y [ystart, yend] 
+/// return the range of pars [beg, end[ owning the range of y [ystart, yend]
 void getParsInRange(ParagraphList & pars, int ystart, int yend,
        par_type & beg, par_type & end)
 {