* src/insets/insetcollapsable.[Ch]: constify floatName()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17217 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-02-16 09:11:19 +00:00
parent 0703d88b00
commit 6c9e07b2da
2 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ void InsetCollapsable::setLabelFont(LyXFont & font)
labelfont_ = font;
}
docstring InsetCollapsable::floatName(string const & type, BufferParams const & bp)
docstring InsetCollapsable::floatName(string const & type, BufferParams const & bp) const
{
FloatList const & floats = bp.getLyXTextClass().floats();
FloatList::const_iterator it = floats[type];

View File

@ -101,7 +101,7 @@ protected:
/// Is the width forced to some value?
virtual bool hasFixedWidth() const { return false; }
///
docstring floatName(std::string const & type, BufferParams const &);
docstring floatName(std::string const & type, BufferParams const &) const;
protected:
///