]> git.lyx.org Git - lyx.git/commit
Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error...
authorAbdelrazak Younes <younes@lyx.org>
Wed, 18 Apr 2007 12:59:07 +0000 (12:59 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 18 Apr 2007 12:59:07 +0000 (12:59 +0000)
commit08380ca4915771c207c2d7c90d21667d28661eca
tree6c18d386a8756229bb4138326f8efa271552a7d5
parentab13c59979d4818495a97a702abf559651ff9c1b
Fix bug 3454 and 3463: Don't allow ill-formed commands. With this commit an error dialog will be shown to the user if the inset parameters were wrong upon creation. This patch uses exceptions.

* factory.C::createInset(): catch eventual exception.
* InsetCommandParams::read(): throw warning exception in case of errors.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17850 a592a061-630c-0410-9148-cb99ea01b6c8
src/factory.C
src/insets/insetcommandparams.C