]> git.lyx.org Git - features.git/blobdiff - src/ParagraphParameters.h
small stuff
[features.git] / src / ParagraphParameters.h
index 82f8ddc0a714794e61673cd76a6b2e35f8587bbc..965a0cf802572985422908e911bc76de390fc793 100644 (file)
@@ -3,6 +3,10 @@
 #ifndef PARAGRAPHPARAMETERS_H
 #define PARAGRAPHPARAMETERS_H
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 #include "ShareContainer.h"
 #include "LString.h"
 #include "layout.h"
@@ -25,8 +29,6 @@ public:
        ///
        bool sameLayout(ParagraphParameters const &) const;
        ///
-       void makeSame(ParagraphParameters const & pp);
-       ///
        VSpace const & spaceTop() const;
        ///
        void spaceTop(VSpace const &);
@@ -63,9 +65,11 @@ public:
        ///
        void align(LyXAlignment);
        ///
-       char depth() const;
+       typedef ParameterStruct::depth_type depth_type;
+       ///
+       depth_type depth() const;
        ///
-       void depth(char);
+       void depth(depth_type);
        ///
        bool startOfAppendix() const;
        ///
@@ -119,7 +123,7 @@ private:
 
 
 inline
-char ParagraphParameters::depth() const
+ParagraphParameters::depth_type ParagraphParameters::depth() const
 {
        return param->depth;
 }