From 52cf28be896d5b5c3fdcd3e026fc372e6260a4d1 Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Sat, 25 Aug 2007 07:53:35 +0000 Subject: [PATCH] Make const git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19785 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/MenuBackend.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MenuBackend.cpp b/src/MenuBackend.cpp index f5e929e281..4ed3506e1e 100644 --- a/src/MenuBackend.cpp +++ b/src/MenuBackend.cpp @@ -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)