Make const

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19785 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2007-08-25 07:53:35 +00:00
parent aa908d5f0f
commit 52cf28be89

View File

@ -627,10 +627,10 @@ void expandCharStyleInsert(Menu & tomenu, Buffer const * buf, std::string s)
FuncRequest(LFUN_NOACTION)));
return;
}
InsetLayouts & insetlayouts =
InsetLayouts const & insetlayouts =
buf->params().getTextClass().insetlayouts();
InsetLayouts::iterator cit = insetlayouts.begin();
InsetLayouts::iterator end = insetlayouts.end();
InsetLayouts::const_iterator cit = insetlayouts.begin();
InsetLayouts::const_iterator end = insetlayouts.end();
for (; cit != end; ++cit) {
docstring const label = cit->first;
if (cit->second.lyxtype == s)