[LyX/master] Remove obsolete comment.

Richard Kimberly Heck rikiheck at lyx.org
Sun May 3 04:26:50 UTC 2020


commit a38408419c613674f1538b77429dd7bd4463dc3a
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date:   Sun May 3 00:50:53 2020 -0400

    Remove obsolete comment.
    
    We assert (or worse) if pos < 0.
---
 src/Paragraph.h |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/Paragraph.h b/src/Paragraph.h
index d5c02e4..3b5f2b8 100644
--- a/src/Paragraph.h
+++ b/src/Paragraph.h
@@ -341,12 +341,8 @@ public:
 	///
 	Font const & getFirstFontSettings(BufferParams const &) const;
 
-	/** Get fully instantiated font. If pos == -1, use the layout
-	    font attached to this paragraph.
-	    If pos == -2, use the label font of the layout attached here.
-	    In all cases, the font is instantiated, i.e. does not have any
-	    attributes with values FONT_INHERIT, FONT_IGNORE or
-	    FONT_TOGGLE.
+	/** Get fully instantiated font, i.e., one that does not have any
+	    attributes with values FONT_INHERIT, FONT_IGNORE or FONT_TOGGLE.
 	*/
 	Font const getFont(BufferParams const &, pos_type pos,
 			      Font const & outerfont) const;


More information about the lyx-cvs mailing list