]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettheorem.C
ws changes only
[lyx.git] / src / insets / insettheorem.C
index fb4bcbdcd4b6e708a67d2cfcf120db4968bdb013..2f51cd1b21e3c62feb0ad89d9bd35651fc1743b4 100644 (file)
@@ -20,7 +20,7 @@
 #include "lyxtext.h"
 #include "metricsinfo.h"
 
-#include "support/LOstream.h"
+#include "support/std_ostream.h"
 
 using std::endl;
 using std::ostream;
@@ -63,7 +63,7 @@ InsetBase * InsetTheorem::clone() const
 #endif
        InsetTheorem * result = new InsetTheorem;
 
-       result->collapsed_ = collapsed_;
+       result->setCollapsed(!isOpen());
        return result;
 }