]> git.lyx.org Git - lyx.git/commit
Fixes to Format.{h,cpp} following advices from Richard and Vincent.
authorJulien Rioux <jrioux@lyx.org>
Tue, 20 Sep 2011 17:25:07 +0000 (17:25 +0000)
committerJulien Rioux <jrioux@lyx.org>
Tue, 20 Sep 2011 17:25:07 +0000 (17:25 +0000)
commitb31f0cfc4dc481e15df07d7ab12249c539333910
tree32147d590821d8a5f8b13d732ff62a7e8a9904df
parentc7bdd2908856cdbb4ff89ac0d573391c980d8bb2
Fixes to Format.{h,cpp} following advices from Richard and Vincent.

Caching the string value of extensions is not necessary. It
was a nice textbook exercise in getter/setter methods but it
is cause for confusion and prone to mistakes in maintenance.

Also, extension_list_ doesn't need to be mutable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39714 a592a061-630c-0410-9148-cb99ea01b6c8
src/Format.cpp
src/Format.h