X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxrc.C;h=0c0282ec235917a35ff7e6441e6b9a63cd3aa8ef;hb=fc8465aa1f6f29774d2f35d627b40198fa489cb1;hp=b025554e312e9bf78c74a4b22f2964ae470d697f;hpb=916ae4222d5218ad7d5c2d5b989ed95437eb3491;p=lyx.git diff --git a/src/lyxrc.C b/src/lyxrc.C index b025554e31..0c0282ec23 100644 --- a/src/lyxrc.C +++ b/src/lyxrc.C @@ -42,8 +42,8 @@ using std::vector; extern LyXAction lyxaction; extern boost::scoped_ptr toplevel_keymap; +namespace { -static keyword_item lyxrcTags[] = { { "\\accept_compound", LyXRC::RC_ACCEPT_COMPOUND }, { "\\alternate_language", LyXRC::RC_ALT_LANG }, @@ -139,7 +139,9 @@ keyword_item lyxrcTags[] = { }; /* Let the range depend of the size of lyxrcTags. Alejandro 240596 */ -static const int lyxrcCount = sizeof(lyxrcTags) / sizeof(keyword_item); +const int lyxrcCount = sizeof(lyxrcTags) / sizeof(keyword_item); + +} // namespace anon LyXRC::LyXRC()