]> git.lyx.org Git - features.git/commit
Fix coverity issues about exceptions
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 24 Mar 2017 15:44:14 +0000 (16:44 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 24 Mar 2017 15:47:35 +0000 (16:47 +0100)
commit2a0e4c199c4f18d80ec5a2ab452f3cf18eafc56c
treea69a48d34df7657e9c1058fca5ca35baf9e8e8b3
parentd7dfa275749c4dde6aac4ce55e8e3f92d9362d8a
Fix coverity issues about exceptions

There a some exceptions related to the fact that BOOST_ASSERT throws
an unhandled exception, which is fait enough. This is handled by
uploading a modeling file to coverity.

The second batch of issues are related to the use of lexical_cast in
convert.cpp. We use now a wrapper around boost::lexical_cast that does
not throw but return empty strings instead. I am not sure actually of
when lexical_cast could fail.
development/Makefile.am
development/coverity_modeling.cpp [new file with mode: 0644]
src/support/convert.cpp