]> git.lyx.org Git - features.git/blobdiff - src/lyxfont.h
optimization after profiling
[features.git] / src / lyxfont.h
index 2309eab91789510d4db67e401837c14ccbb791d9..07a0348d80e4ac14af04e85d8a1c6b3d557fe572 100644 (file)
@@ -368,6 +368,21 @@ private:
                                         LyXFont::FONT_MISC_STATE org);
 };
 
+
+inline
+LyXFont::FONT_SHAPE LyXFont::shape() const
+{
+       return bits.shape;
+}
+
+
+inline
+LyXFont::FONT_MISC_STATE LyXFont::emph() const
+{
+       return bits.emph;
+}
+
+
 ///
 std::ostream & operator<<(std::ostream &, LyXFont::FONT_MISC_STATE);