mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
Make const
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19785 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
aa908d5f0f
commit
52cf28be89
@ -627,10 +627,10 @@ void expandCharStyleInsert(Menu & tomenu, Buffer const * buf, std::string s)
|
|||||||
FuncRequest(LFUN_NOACTION)));
|
FuncRequest(LFUN_NOACTION)));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
InsetLayouts & insetlayouts =
|
InsetLayouts const & insetlayouts =
|
||||||
buf->params().getTextClass().insetlayouts();
|
buf->params().getTextClass().insetlayouts();
|
||||||
InsetLayouts::iterator cit = insetlayouts.begin();
|
InsetLayouts::const_iterator cit = insetlayouts.begin();
|
||||||
InsetLayouts::iterator end = insetlayouts.end();
|
InsetLayouts::const_iterator end = insetlayouts.end();
|
||||||
for (; cit != end; ++cit) {
|
for (; cit != end; ++cit) {
|
||||||
docstring const label = cit->first;
|
docstring const label = cit->first;
|
||||||
if (cit->second.lyxtype == s)
|
if (cit->second.lyxtype == s)
|
||||||
|
Loading…
Reference in New Issue
Block a user