mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
4534a20f1a
The functions were selected from the parser files where document is always defined. The only case was this code was used was on document.warning. Since our documents are well formed this code was never active and thus the reason why we did not saw this before. One possible solution to assure that these type of errors do not occur is to make the convention that all the functions in lyx2lyx_tools have as the first argument document.