]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNote.cpp
following rev. 18724 boost/signal is not needed.
[lyx.git] / src / insets / InsetNote.cpp
index 55fc6911d7c433cb279297c4c83f806e69602346..1a0cadc5feb81cd378243db50320e8613d8e3c0f 100644 (file)
@@ -309,7 +309,7 @@ int InsetNote::latex(Buffer const & buf, odocstream & os,
 
 
 int InsetNote::plaintext(Buffer const & buf, odocstream & os,
-                         OutputParams const & runparams_in) const
+                        OutputParams const & runparams_in) const
 {
        if (params_.type == InsetNoteParams::Note)
                return 0;
@@ -329,7 +329,7 @@ int InsetNote::plaintext(Buffer const & buf, odocstream & os,
 
 
 int InsetNote::docbook(Buffer const & buf, odocstream & os,
-                       OutputParams const & runparams_in) const
+                      OutputParams const & runparams_in) const
 {
        if (params_.type == InsetNoteParams::Note)
                return 0;
@@ -349,7 +349,7 @@ int InsetNote::docbook(Buffer const & buf, odocstream & os,
 
        // Return how many newlines we issued.
        //return int(count(str.begin(), str.end(), '\n'));
-        return n + 1 + 2;
+       return n + 1 + 2;
 }
 
 
@@ -365,10 +365,8 @@ void InsetNote::validate(LaTeXFeatures & features) const
                features.require("color");
                features.require("framed");
        }
-       if (params_.type == InsetNoteParams::Framed) {
-               features.require("color");
+       if (params_.type == InsetNoteParams::Framed)
                features.require("framed");
-       }
        InsetText::validate(features);
 }