]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFoot.cpp
Fix GRAPHICS_EDIT of InsetGraphics
[lyx.git] / src / insets / InsetFoot.cpp
index 98ab7bcd992e5c476088ebc20518a4177ffd99a1..c40dc08d43fa196ec58c9325917344a4898f2c98 100644 (file)
@@ -40,11 +40,6 @@ InsetFoot::InsetFoot(Buffer const & buf)
 {}
 
 
-InsetFoot::InsetFoot(InsetFoot const & in)
-       : InsetFootlike(in)
-{}
-
-
 docstring InsetFoot::editMessage() const
 {
        return _("Opened Footnote Inset");
@@ -57,7 +52,7 @@ void InsetFoot::updateLabels(ParIterator const & it)
        Counters & cnts = tclass.counters();
        docstring const foot = from_ascii("footnote");
        Paragraph const & outer =  it.paragraph();
-       if (!outer.layout()->intitle && cnts.hasCounter(foot)) {
+       if (!outer.layout().intitle && cnts.hasCounter(foot)) {
                cnts.step(foot);
                // FIXME: the counter should format itself.
                setLabel(support::bformat(from_ascii("%1$s %2$s"),