mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* 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:
parent
0703d88b00
commit
6c9e07b2da
@ -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];
|
||||
|
@ -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:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user