Do not output a warning about missing the width of a nomencl_print. The width will not be outputted if it's empty and this is the case when the nomencl_print has "set_width" set to auto or none.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33559 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Vincent van Ravesteijn 2010-02-24 18:14:23 +00:00
parent b9e45ab91f
commit 36c1de09a7

View File

@ -767,7 +767,7 @@ def revert_nomencl_cwidth(document):
j = find_end_of_inset(document.body, i)
l = find_token(document.body, "width", i, j)
if l == -1:
document.warning("Can't find width option for nomencl_print!")
#Can't find width option for nomencl_print
i = j
continue
width = get_value(document.body, "width", i, j).strip('"')