]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt2/qfont_loader.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / qfont_loader.h
index 31f5030a23b1eb19144814e6e7a0c40cef4715f3..8c01b202cf51cc96d83303236f422bb2b1f324b5 100644 (file)
@@ -21,8 +21,6 @@
 #include <qfont.h>
 #include <qfontmetrics.h>
 
-#include <boost/scoped_ptr.hpp>
-
 /**
  * Qt font loader for LyX. Matches LyXFonts against
  * actual QFont instances, and also caches metrics.
@@ -46,7 +44,6 @@ public:
        QFontMetrics const & metrics(LyXFont const & f) {
                return getfontinfo(f)->metrics;
        }
-
 private:
        /// hold info about a particular font
        struct font_info {
@@ -62,7 +59,7 @@ private:
        font_info const * getfontinfo(LyXFont const & f);
 
        /// BUTT ugly !
-       boost::scoped_ptr<font_info> fontinfo_[LyXFont::NUM_FAMILIES][2][4][10];
+       font_info const * fontinfo_[LyXFont::NUM_FAMILIES][2][4][10];
 };
 
 extern qfont_loader fontloader;