]> git.lyx.org Git - lyx.git/blobdiff - src/ParagraphParameters.h
Fix crash when running lyx -dbg insets -e ...
[lyx.git] / src / ParagraphParameters.h
index 82f8ddc0a714794e61673cd76a6b2e35f8587bbc..1cd0e364477c797c9dba758c63c86f3b4ecfbbf6 100644 (file)
@@ -25,8 +25,6 @@ public:
        ///
        bool sameLayout(ParagraphParameters const &) const;
        ///
-       void makeSame(ParagraphParameters const & pp);
-       ///
        VSpace const & spaceTop() const;
        ///
        void spaceTop(VSpace const &);
@@ -63,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;
        ///
@@ -119,7 +119,7 @@ private:
 
 
 inline
-char ParagraphParameters::depth() const
+ParagraphParameters::depth_type ParagraphParameters::depth() const
 {
        return param->depth;
 }