From 539fa60a8075db078c100b30e6391217686802e9 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 18 Jun 2009 14:28:13 +0000 Subject: [PATCH] fix a few compilation warnings git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30157 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/LyXRC.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 0d88a48bac..59ebff50cf 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -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(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(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 || -- 2.39.5