]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetEnvironment.cpp
Forgot to restore this before committing 18494. This fixes bug 3725.
[lyx.git] / src / insets / InsetEnvironment.cpp
index b97eaacfdd8b69c5c2f86acd33277492ea57580c..b576573b5c785c3f448f3fa6079e13242c9f5fcd 100644 (file)
@@ -49,7 +49,7 @@ auto_ptr<Inset> InsetEnvironment::doClone() const
 
 void InsetEnvironment::write(Buffer const & buf, ostream & os) const
 {
-       os << "Environment " << to_utf8(insetName()) << "\n";
+       os << "Environment " << to_utf8(name()) << "\n";
        InsetText::write(buf, os);
 }
 
@@ -62,7 +62,7 @@ void InsetEnvironment::read(Buffer const & buf, Lexer & lex)
 
 docstring const InsetEnvironment::editMessage() const
 {
-       return _("Opened Environment Inset: ") + insetName();
+       return _("Opened Environment Inset: ") + name();
 }
 
 
@@ -83,7 +83,7 @@ int InsetEnvironment::latex(Buffer const & buf, odocstream & os,
 int InsetEnvironment::plaintext(Buffer const & buf, odocstream & os,
                                 OutputParams const & runparams) const
 {
-       os << '[' << to_utf8(insetName()) << ":\n";
+       os << '[' << to_utf8(name()) << ":\n";
        InsetText::plaintext(buf, os, runparams);
        os << "\n]";