]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.h
Remove unused font variable which caused a warning.
[lyx.git] / src / ParagraphParameters.h
index 47149726968a73e9aaf9a9059ae5efb3288321fc..1cd0e364477c797c9dba758c63c86f3b4ecfbbf6 100644 (file)
@@ -6,10 +6,11 @@
 #include "ShareContainer.h"
 #include "LString.h"
 #include "layout.h"
+#include "ParameterStruct.h"
 
 class VSpace;
 class Spacing;
-struct ParameterStruct;
+
 
 // Not yet... lyx 1.3.x or so
 //#define NO_PEXTRA_REALLY 1
@@ -24,8 +25,6 @@ public:
        ///
        bool sameLayout(ParagraphParameters const &) const;
        ///
-       void makeSame(ParagraphParameters const & pp);
-       ///
        VSpace const & spaceTop() const;
        ///
        void spaceTop(VSpace const &);
@@ -62,9 +61,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;
        ///
@@ -115,4 +116,11 @@ private:
        ///
        static ShareContainer<ParameterStruct> container;
 };
+
+
+inline
+ParagraphParameters::depth_type ParagraphParameters::depth() const
+{
+       return param->depth;
+}
 #endif