]> git.lyx.org Git - lyx.git/commitdiff
Remove NOOP code
authorEnrico Forestieri <forenr@lyx.org>
Fri, 13 May 2011 09:18:54 +0000 (09:18 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 13 May 2011 09:18:54 +0000 (09:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38735 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXRC.cpp

index 983eca3af5e1f68f78fb6dea87a0a11898beb6cc..c15b9ad3e28cda61d2603593eeca394e8d981758 100644 (file)
@@ -2953,9 +2953,6 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
        case LyXRC::RC_GROUP_LAYOUTS:
        case LyXRC::RC_HUNSPELLDIR_PATH:
        case LyXRC::RC_ICON_SET:
-               if (lyxrc_orig.icon_set != lyxrc_new.icon_set) {
-                       lyxrc.icon_set = lyxrc_new.icon_set;
-               }
        case LyXRC::RC_INDEX_ALTERNATIVES:
        case LyXRC::RC_INDEX_COMMAND:
        case LyXRC::RC_JBIBTEX_COMMAND:
@@ -3036,9 +3033,6 @@ void actOnUpdatedPrefs(LyXRC const & lyxrc_orig, LyXRC const & lyxrc_new)
                        os::windows_style_tex_paths(lyxrc_new.windows_style_tex_paths);
                }
        case LyXRC::RC_TEXINPUTS_PREFIX:
-               if (lyxrc_orig.texinputs_prefix != lyxrc_new.texinputs_prefix) {
-                       lyxrc.texinputs_prefix = lyxrc_new.texinputs_prefix;
-               }
        case LyXRC::RC_THESAURUSDIRPATH:
        case LyXRC::RC_UIFILE:
        case LyXRC::RC_USER_EMAIL: