]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiFontMetrics.h
Fix handling of the add branch textfield in GuiBranches
[lyx.git] / src / frontends / qt4 / GuiFontMetrics.h
index 707b5f336e3d9f7e6d12f7e8bf6834e2cf04c7c3..5da137e742e2905172069fc3740e228adb2a1104 100644 (file)
@@ -19,7 +19,6 @@
 #include <QFontMetrics>
 #include <QHash>
 
-
 namespace lyx {
 namespace frontend {
 
@@ -67,8 +66,8 @@ private:
        mutable QHash<char_type, int> width_cache_;
 
        struct AscendDescend {
-               short int ascent;
-               short int descent;
+               int ascent;
+               int descent;
        };
        /// Cache of char ascends and descends
        mutable QHash<char_type, AscendDescend> metrics_cache_;