]> git.lyx.org Git - lyx.git/blobdiff - src/FontInfo.h
* GuiView.cpp:
[lyx.git] / src / FontInfo.h
index dd8f81a9956a68a25351b8f994255da1d44585c1..ab1fab670dc18cdddef2c2f0cc58d134e9f9408e 100644 (file)
@@ -29,9 +29,9 @@ class FontInfo
 {
 public:
        ///
-       FontInfo::FontInfo();
+       FontInfo();
        ///
-       FontInfo::FontInfo(
+       FontInfo(
                FontFamily family,
                FontSeries series,
                FontShape shape,
@@ -92,7 +92,7 @@ public:
        ColorCode realColor() const;
 
        /// Converts logical attributes to concrete shape attribute
-       // Try hard to inline this as it shows up with 4.6 % in the profiler.
+       /// Try hard to inline this as it shows up with 4.6 % in the profiler.
        FontShape realShape() const
        {
                if (noun_ == FONT_ON)
@@ -119,22 +119,6 @@ public:
                }
        }
 
-       /*
-       FontInfo & operator=(FontInfo const & rhs)
-       {
-               family_ = rhs.family_;
-               series_ = rhs.series_;
-               shape_ = rhs.shape_;
-               size_ = rhs.size_;
-               color_ = rhs.color_;
-               background_ = rhs.background_;
-               emph_ = rhs.emph_;
-               underbar_ = rhs.underbar_;
-               noun_ = rhs.noun_;
-               number_ = rhs.number_;
-       }
-       */
-
 private:
        friend bool operator==(FontInfo const & lhs, FontInfo const & rhs);