]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
Painter: Add a line style to disable antialiasing
[lyx.git] / src / Paragraph.cpp
index d6106b37d4f919b4e31abb8f7882735fc077feaf..c29ca4cb930110e780b8011b19ef7fea4d77a246 100644 (file)
@@ -1409,7 +1409,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features) const
                                }
                        }
                        string const snippet = to_utf8(ods.str());
-                       features.addPreambleSnippet(snippet);
+                       features.addPreambleSnippet(snippet, true);
                }
        }
 
@@ -1837,14 +1837,6 @@ Font const Paragraph::getLayoutFont
 }
 
 
-/// Returns the height of the highest font in range
-FontSize Paragraph::highestFontInRange
-       (pos_type startpos, pos_type endpos, FontSize def_size) const
-{
-       return d->fontlist_.highestInRange(startpos, endpos, def_size);
-}
-
-
 char_type Paragraph::getUChar(BufferParams const & bparams, pos_type pos) const
 {
        char_type c = d->text_[pos];