]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFootlike.cpp
cosmetics. mainly replace #include "dostring.h" by #include "strfwd.h"
[features.git] / src / insets / InsetFootlike.cpp
index d752c9c44b8353f27a3ba0235b60e78f5373bef2..c0647b0824f99b6bafcbabc9ef4c1f0f9d137df1 100644 (file)
@@ -17,6 +17,7 @@
 #include "BufferParams.h"
 #include "MetricsInfo.h"
 
+#include <iostream>
 
 namespace lyx {
 
@@ -58,8 +59,7 @@ void InsetFootlike::write(Buffer const & buf, std::ostream & os) const
 
 bool InsetFootlike::insetAllowed(InsetCode code) const
 {
-       if (code == FOOT_CODE || code == MARGIN_CODE
-           || code == FLOAT_CODE)
+       if (code == FOOT_CODE || code == MARGIN_CODE || code == FLOAT_CODE)
                return false;
        return InsetCollapsable::insetAllowed(code);
 }