]> git.lyx.org Git - features.git/blobdiff - src/insets/insetnote.C
change "support/std_sstream.h" to <sstream>
[features.git] / src / insets / insetnote.C
index ba99588e4c6737133df39fd2fe3f1ce494b58b2e..3be5403fb54ccff288c0a69101b7009932e47a06 100644 (file)
@@ -27,9 +27,9 @@
 #include "paragraph.h"
 
 #include "support/lyxalgo.h"
-#include "support/std_sstream.h"
 #include "support/translator.h"
 
+#include <sstream>
 
 using std::string;
 using std::auto_ptr;
@@ -184,7 +184,7 @@ bool InsetNote::showInsetDialog(BufferView * bv) const
 }
 
 
-void InsetNote::priv_dispatch(LCursor & cur, FuncRequest const & cmd)
+void InsetNote::priv_dispatch(LCursor & cur, FuncRequest & cmd)
 {
        switch (cmd.action) {
 
@@ -226,7 +226,7 @@ int InsetNote::latex(Buffer const & buf, ostream & os,
 
        ostringstream ss;
        ss << "%\n\\begin{" << type << "}\n";
-       inset.latex(buf, ss, runparams);
+       InsetText::latex(buf, ss, runparams);
        ss << "%\n\\end{" << type << "}\n";
 
        string const str = ss.str();
@@ -246,7 +246,7 @@ int InsetNote::linuxdoc(Buffer const & buf, std::ostream & os,
        if (params_.type == InsetNoteParams::Comment)
                ss << "<comment>\n";
 
-       inset.linuxdoc(buf, ss, runparams);
+       InsetText::linuxdoc(buf, ss, runparams);
 
        if (params_.type == InsetNoteParams::Comment)
                ss << "\n</comment>\n";
@@ -268,7 +268,7 @@ int InsetNote::docbook(Buffer const & buf, std::ostream & os,
        if (params_.type == InsetNoteParams::Comment)
                ss << "<remark>\n";
 
-       inset.docbook(buf, ss, runparams);
+       InsetText::docbook(buf, ss, runparams);
 
        if (params_.type == InsetNoteParams::Comment)
                ss << "\n</remark>\n";
@@ -288,7 +288,7 @@ int InsetNote::plaintext(Buffer const & buf, std::ostream & os,
 
        ostringstream ss;
        ss << "[";
-       inset.plaintext(buf, ss, runparams);
+       InsetText::plaintext(buf, ss, runparams);
        ss << "]";
 
        string const str = ss.str();
@@ -306,12 +306,12 @@ void InsetNote::validate(LaTeXFeatures & features) const
                features.require("color");
                features.require("lyxgreyedout");
        }
-       inset.validate(features);
+       InsetText::validate(features);
 }
 
 
 
-string const InsetNoteMailer:: name_("note");
+string const InsetNoteMailer::name_("note");
 
 InsetNoteMailer::InsetNoteMailer(InsetNote & inset)
        : inset_(inset)