]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetFoot.cpp
First step of InsetLayout cleanup.
[features.git] / src / insets / InsetFoot.cpp
index 6c0d9b79245fba635b6ec2e78bf9599496607876..d0d432b5fdbbf7f4af0341d86d80cad3cb091bcd 100644 (file)
@@ -55,7 +55,7 @@ void InsetFoot::updateLabels(ParIterator const & it)
                cnts.step(foot);
                // FIXME: the counter should format itself.
                custom_label_= bformat(from_utf8("%1$s %2$s"),
-                                      translateIfPossible(getLayout(bp).labelstring()),
+                                      translateIfPossible(getLayout().labelstring()),
                                       cnts.theCounter(foot, outer.getParLanguage(bp)->code()));
                setLabel(custom_label_);