X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flayout.C;h=58fd7f1bb93ec9b31cc1b7a8965196533bbf3521;hb=664eb7ff45dbb4fabc22ec0b56798031a82335b1;hp=8652f06d8eb0c02dc846a2925dc48c638c547c8b;hpb=adaef99e60e28eba8c413a3472cc71e234718af0;p=lyx.git diff --git a/src/layout.C b/src/layout.C index 8652f06d8e..58fd7f1bb9 100644 --- a/src/layout.C +++ b/src/layout.C @@ -598,13 +598,19 @@ void LyXLayout::readLabelType(LyXLex & lexrc) } } -static keyword_item endlabelTypeTags[] = { + +namespace { + +keyword_item endlabelTypeTags[] = { { "box", END_LABEL_BOX }, { "filled_box", END_LABEL_FILLED_BOX }, { "no_label", END_LABEL_NO_LABEL }, { "static", END_LABEL_STATIC } }; +} // namespace anon + + void LyXLayout::readEndLabelType(LyXLex & lexrc) { pushpophelper pph(lexrc, endlabelTypeTags,