]> git.lyx.org Git - features.git/commitdiff
lyx_1_6.py: avoid the same name of two different functions.
authorUwe Stöhr <uwestoehr@web.de>
Sat, 13 Oct 2007 03:18:51 +0000 (03:18 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 13 Oct 2007 03:18:51 +0000 (03:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20934 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

index 8f0e3e40f5114c88cd998ba4a42f6e54d10c8bf8..a40ca36a3298edeb0661b4a24d153165649500d3 100644 (file)
@@ -495,7 +495,7 @@ def convert_pdf_options(document):
     document.header[i] = document.header[i].replace('"', '')
 
 
-def revert_pdf_options(document):
+def revert_pdf_options_2(document):
     # reset the pdfusetitle tag, set quotes for bookmarksopenlevel"
     k = find_token(document.header, "\\use_hyperref", 0)
     i = find_token(document.header, "\\pdf_pdfusetitle", k)
@@ -533,7 +533,7 @@ convert = [[277, [fix_wrong_tables]],
            [294, [convert_pdf_options]]
           ]
 
-revert =  [[293, [revert_pdf_options]],
+revert =  [[293, [revert_pdf_options_2]],
            [292, [revert_inset_info]],
            [291, [revert_japanese, revert_japanese_encoding]],
            [290, [revert_vietnamese]],