mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
remove dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38950 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
90e8e2e537
commit
e1a9839e35
@ -45,17 +45,6 @@ def remove_option(lines, m, option):
|
||||
return True
|
||||
|
||||
|
||||
# DO NOT USE THIS ROUTINE ANY MORE. Better yet, replace the uses that
|
||||
# have been made of it with uses of put_cmd_in_ert.
|
||||
def old_put_cmd_in_ert(string):
|
||||
for rep in unicode_reps:
|
||||
string = string.replace(rep[1], rep[0].replace('\\\\', '\\'))
|
||||
string = string.replace('\\', "\\backslash\n")
|
||||
string = "\\begin_inset ERT\nstatus collapsed\n\\begin_layout Plain Layout\n" \
|
||||
+ string + "\n\\end_layout\n\\end_inset"
|
||||
return string
|
||||
|
||||
|
||||
###############################################################################
|
||||
###
|
||||
### Conversion and reversion routines
|
||||
|
Loading…
Reference in New Issue
Block a user