]> git.lyx.org Git - lyx.git/blobdiff - src/FloatList.cpp
Do not break on undefined references that are part of the family.
[lyx.git] / src / FloatList.cpp
index 54389914b991a314f5a99b2c608b3b64e906f1f7..5b2d367dcd01e2a69d48841b5d2b4f5a658195b9 100644 (file)
@@ -64,6 +64,24 @@ bool FloatList::typeExist(string const & t) const
 }
 
 
+bool FloatList::allowsWide(string const & t) const
+{
+       List::const_iterator cit = list.find(t);
+       if (cit != list.end())
+               return cit->second.allowsWide();
+       return false;
+}
+
+
+bool FloatList::allowsSideways(string const & t) const
+{
+       List::const_iterator cit = list.find(t);
+       if (cit != list.end())
+               return cit->second.allowsSideways();
+       return false;
+}
+
+
 Floating const & FloatList::getType(string const & t) const
 {
        // I wish we could use exceptions