fix a few compilation warnings

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30157 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2009-06-18 14:28:13 +00:00
parent c676b24359
commit 539fa60a80

View File

@ -2233,6 +2233,10 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
}
if (tag != RC_LAST)
break;
case RC_USE_PERS_DICT:
// obsoleted in 2.0
if (tag != RC_LAST)
break;
case RC_USE_TOOLTIP:
if (ignore_system_lyxrc ||
use_tooltip != system_lyxrc.use_tooltip) {
@ -2240,6 +2244,8 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
<< convert<string>(use_tooltip)
<< '\n';
}
if (tag != RC_LAST)
break;
case RC_USE_PIXMAP_CACHE:
if (ignore_system_lyxrc ||
use_pixmap_cache != system_lyxrc.use_pixmap_cache) {
@ -2247,10 +2253,22 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c
<< convert<string>(use_pixmap_cache)
<< '\n';
}
if (tag != RC_LAST)
break;
case RC_PERS_DICT:
// obsoleted in 2.0
if (tag != RC_LAST)
break;
case RC_USE_INP_ENC:
// obsoleted in 2.0
if (tag != RC_LAST)
break;
os << "\n#\n"
<< "# LANGUAGE SUPPORT SECTION ##########################\n"
<< "#\n\n";
if (tag != RC_LAST)
break;
case RC_SPELLCHECK_CONTINUOUSLY:
if (ignore_system_lyxrc ||