]> git.lyx.org Git - lyx.git/blobdiff - src/lyxtext.h
reduce number of calls to LyXText::getFont
[lyx.git] / src / lyxtext.h
index a8563e083ec5ad89db7279556b4f7219592967ba..a73826cb8a198732c9587ebbd55c111fbd9eeafc 100644 (file)
@@ -95,7 +95,7 @@ public:
        void setFont(LCursor & cur, LyXFont const &, bool toggleall = false);
 
        /// rebreaks the given par
-       void redoParagraph(pit_type pit);
+       bool redoParagraph(pit_type pit);
 
        /// returns pos in given par at given x coord
        pos_type x2pos(pit_type pit, int row, int x) const;
@@ -105,7 +105,7 @@ public:
        void toggleFree(LCursor & cur, LyXFont const &, bool toggleall = false);
 
        ///
-       std::string getStringToIndex(LCursor & cur);
+       std::string getStringToIndex(LCursor const & cur);
 
        /// insert a character at cursor position
        void insertChar(LCursor & cur, char c);