]> git.lyx.org Git - lyx.git/blobdiff - src/support/types.h
fix typo that put too many include paths for most people
[lyx.git] / src / support / types.h
index c3c08913eb1e6395eb58488adb41fd0625d9cb8c..bc46ad7dcae87ccf171106ea295b691c070b9bd2 100644 (file)
@@ -2,7 +2,7 @@
 #define LYX_TYPES_H
 
 // provide a set of typedefs for commonly used things like sizes and
-// indices whil trying to stay compatible with typse used by the standard
+// indices while trying to stay compatible with types used by the standard
 // containers.
 
 
@@ -23,10 +23,6 @@ namespace lyx
        /// a type for sizes
        typedef std::vector<char>::size_type         size_type;
 
-       /// a type used for numbering layouts   within a text class
-       // used to be LyXTextClass::size_type
-       typedef std::vector<char>::size_type         layout_type;
-
        /// a type used for numbering text classes
        // used to be LyXTextClassList::size_type
        typedef std::vector<char>::size_type         textclass_type;
@@ -48,22 +44,6 @@ namespace lyx
                private:
                base_type data_;
        };
-               
-
-       struct layout_type {
-               ///
-               typedef std::vector<char>::size_type  base_type;
-               ///
-               layout_type(base_type t) { data_ = t; }
-               ///
-               operator base_type() const { return data_; }
-               ///
-               void operator++() { ++data_; }
-               ///
-               private:
-               base_type data_;
-       };
-               
 
        struct textclass_type {
                ///
@@ -76,7 +56,7 @@ namespace lyx
                private:
                base_type data_;
        };
-               
+
 
 #endif