]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.h
* src/paragraph_funcs.cpp (breakParagraph): change parameter 'flag' to
[lyx.git] / src / insets / InsetSpecialChar.h
index d54e993d10fa30cb35fb57180808f29c04b6ecb6..fc11ce7dd0f7e38c37824dc8bb00dc48168984ea 100644 (file)
@@ -48,7 +48,7 @@ public:
        ///
        Kind kind() const;
        ///
-       bool metrics(MetricsInfo &, Dimension &) const;
+       void metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -81,7 +81,7 @@ public:
        // should we break lines after this inset?
        bool isLineSeparator() const;
 private:
-       virtual std::auto_ptr<Inset> doClone() const;
+       virtual Inset * clone() const;
 
        /// And which kind is this?
        Kind kind_;