-namespace {
-
-string floatname(string const & type, BufferParams const & bp)
-{
- FloatList const & floats = bp.getLyXTextClass().floats();
- FloatList::const_iterator it = floats[type];
- return (it == floats.end()) ? type : _(it->second.name());
-}
-
-} // namespace anon
-
-