tex2lyx/text.cpp: whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40853 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2012-03-04 14:18:33 +00:00
parent 06d9238f30
commit b2a03f4e67

View File

@ -1267,7 +1267,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
// we must make sure that the next item gets a \begin_layout. // we must make sure that the next item gets a \begin_layout.
parent_context.new_paragraph(os); parent_context.new_paragraph(os);
p.skip_spaces(); p.skip_spaces();
preamble.registerAutomaticallyLoadedPackage("rotfloat"); preamble.registerAutomaticallyLoadedPackage("rotfloat");
} }
else if (name == "wrapfigure" || name == "wraptable") { else if (name == "wrapfigure" || name == "wraptable") {
@ -1300,7 +1300,7 @@ void parse_environment(Parser & p, ostream & os, bool outer,
// we must make sure that the next item gets a \begin_layout. // we must make sure that the next item gets a \begin_layout.
parent_context.new_paragraph(os); parent_context.new_paragraph(os);
p.skip_spaces(); p.skip_spaces();
preamble.registerAutomaticallyLoadedPackage("wrapfig"); preamble.registerAutomaticallyLoadedPackage("wrapfig");
} }
else if (name == "minipage") { else if (name == "minipage") {