]> git.lyx.org Git - features.git/blobdiff - src/LaTeXFeatures.h
a couple of name changes and new functionality in lyxvc and vc-backend
[features.git] / src / LaTeXFeatures.h
index a7c828ab303dbd4bb1c691030442f9a33eef7fb9..9962d17a744d531ed1022ec78ea9958c892e3deb 100644 (file)
@@ -17,6 +17,8 @@
 #pragma interface
 #endif
 
+#include <vector>
+
 #include "LString.h"
 
 class BufferParams; 
@@ -31,10 +33,6 @@ class LyXTextClass;
 struct LaTeXFeatures {
        ///
        LaTeXFeatures(int n) ;
-       ///
-       ~LaTeXFeatures() {
-               delete[] layout;
-       }
        /// The packaes needed by the document
        string getPackages(BufferParams const &params);
        /// The macros definitions needed by the document
@@ -118,7 +116,7 @@ struct LaTeXFeatures {
        
        //@Man: Layouts
        //@{
-       bool *layout;
+       vector<bool> layout;
        //@}
        
        //@Man: Special features