tex2lyx/preamble.cpp: remove the setspace handling.

I introduced this accidentally with the fix for bug 4773.
Not taking care of setspace doesn't harm. But at the moment setspace would be erased from the preamble and only readded by LyX when the user uses global line spacing settings. But when the user only uses paragraph spacing settings, it won't be readded and the document will become uncompilable. So this commit prevents a regression that can first be undone when bug 20 is fixed. (I have a fix for bug 20 in the pipe.)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24508 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2008-04-26 11:01:36 +00:00
parent 3389804bf1
commit b559a0c607

View File

@ -340,8 +340,9 @@ void handle_package(string const & name, string const & opts)
else if (name == "graphicx") else if (name == "graphicx")
; // ignore this ; // ignore this
else if (name == "setspace") // activate this first when bug 20 is fixed, otherwise we have a regression
; // ignore this //else if (name == "setspace")
// ; // ignore this
else if (is_known(name, known_languages)) { else if (is_known(name, known_languages)) {
if (is_known(name, known_french_languages)) if (is_known(name, known_french_languages))