]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.h
More fixes to insettabular/text (and some missing features added).
[lyx.git] / src / FontInfo.h
index d3d2e8b0a08a5b6216c0a7fad11f196be0f87f65..3bc79d913599721eb1a2b16d3060c0e832ad5338 100644 (file)
@@ -51,14 +51,14 @@ public:
        }
 
        /// Get existing pattern
-       string getPattern() const { return pattern; }
+       string const getPattern() const { return pattern; }
 
        /// Set new pattern
        void setPattern(string const & pat);
 
        /** Return full name of font close to this size.
          If impossible, result is the empty string */
-       string getFontname(int size);
+       string const getFontname(int size);
 private:
        /// Font pattern (with wildcard for size)
        string pattern;
@@ -91,6 +91,6 @@ private:
        void query();
 
        /// Build newly sized font string 
-       string resize(string const &, int size) const;
+       string const resize(string const &, int size) const;
 };
 #endif