]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetSpecialChar.cpp
* src/insets/InsetInclude.cpp: formatting (in response to r18445)
[lyx.git] / src / insets / InsetSpecialChar.cpp
index f863b27bc2bd84c2588b1f44c6245e72f707ea95..27dc69999df885e0dc254e42efbd4397aaf559b9 100644 (file)
@@ -69,7 +69,7 @@ bool InsetSpecialChar::metrics(MetricsInfo & mi, Dimension & dim) const
 
 void InsetSpecialChar::draw(PainterInfo & pi, int x, int y) const
 {
-       LyXFont font = pi.base.font;
+       Font font = pi.base.font;
 
        switch (kind_) {
        case HYPHENATION:
@@ -240,9 +240,9 @@ int InsetSpecialChar::textString(Buffer const & buf, odocstream & os,
 }
 
 
-auto_ptr<InsetBase> InsetSpecialChar::doClone() const
+auto_ptr<Inset> InsetSpecialChar::doClone() const
 {
-       return auto_ptr<InsetBase>(new InsetSpecialChar(kind_));
+       return auto_ptr<Inset>(new InsetSpecialChar(kind_));
 }