]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetMarginal.cpp
pimpl not needed here
[lyx.git] / src / insets / InsetMarginal.cpp
index be75e9e671dab0c38cc8b4b65ac527e2d84fdbe6..3a4ed9407dfff51bd27a5dd4bbdad9589550752d 100644 (file)
@@ -25,9 +25,7 @@ namespace lyx {
 
 InsetMarginal::InsetMarginal(BufferParams const & bp)
        : InsetFootlike(bp)
-{
-       setLayout(bp);
-}
+{}
 
 
 InsetMarginal::InsetMarginal(InsetMarginal const & in)
@@ -37,7 +35,7 @@ InsetMarginal::InsetMarginal(InsetMarginal const & in)
 
 Inset * InsetMarginal::clone() const
 {
-       new InsetMarginal(*this);
+       return new InsetMarginal(*this);
 }