]> git.lyx.org Git - features.git/blobdiff - src/text2.C
move floatlist to textclass
[features.git] / src / text2.C
index 91097ed2781685ff590249566c2c0d54b276818c..228a5039c65bbe70b09fc362a5e7569c35e4d0d8 100644 (file)
@@ -1351,7 +1351,7 @@ void LyXText::setCounter(Buffer const * buf, Paragraph * par) const
 
                        if (isOK) {
                                Floating const & fl
-                                       = floatList.getType(static_cast<InsetFloat*>(in)->type());
+                                       = textclass.floats().getType(static_cast<InsetFloat*>(in)->type());
 
                                buf->counters().step(fl.name());