LyXFunc.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28254 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2009-01-20 01:04:48 +00:00
parent 32d26cd44e
commit 5f3ef27629

View File

@ -1189,7 +1189,7 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
InsetCommandParams p(code); InsetCommandParams p(code);
data = InsetCommand::params2string(name, p); data = InsetCommand::params2string(name, p);
break; break;
} }
case INCLUDE_CODE: { case INCLUDE_CODE: {
// data is the include type: one of "include", // data is the include type: one of "include",
// "input", "verbatiminput" or "verbatiminput*" // "input", "verbatiminput" or "verbatiminput*"
@ -1199,62 +1199,62 @@ void LyXFunc::dispatch(FuncRequest const & cmd)
InsetCommandParams p(INCLUDE_CODE, data); InsetCommandParams p(INCLUDE_CODE, data);
data = InsetCommand::params2string("include", p); data = InsetCommand::params2string("include", p);
break; break;
} }
case BOX_CODE: { case BOX_CODE: {
// \c data == "Boxed" || "Frameless" etc // \c data == "Boxed" || "Frameless" etc
InsetBoxParams p(data); InsetBoxParams p(data);
data = InsetBox::params2string(p); data = InsetBox::params2string(p);
break; break;
} }
case BRANCH_CODE: { case BRANCH_CODE: {
InsetBranchParams p; InsetBranchParams p;
data = InsetBranch::params2string(p); data = InsetBranch::params2string(p);
break; break;
} }
case CITE_CODE: { case CITE_CODE: {
InsetCommandParams p(CITE_CODE); InsetCommandParams p(CITE_CODE);
data = InsetCommand::params2string(name, p); data = InsetCommand::params2string(name, p);
break; break;
} }
case ERT_CODE: { case ERT_CODE: {
data = InsetERT::params2string(InsetCollapsable::Open); data = InsetERT::params2string(InsetCollapsable::Open);
break; break;
} }
case EXTERNAL_CODE: { case EXTERNAL_CODE: {
InsetExternalParams p; InsetExternalParams p;
data = InsetExternal::params2string(p, *buffer); data = InsetExternal::params2string(p, *buffer);
break; break;
} }
case FLOAT_CODE: { case FLOAT_CODE: {
InsetFloatParams p; InsetFloatParams p;
data = InsetFloat::params2string(p); data = InsetFloat::params2string(p);
break; break;
} }
case LISTINGS_CODE: { case LISTINGS_CODE: {
InsetListingsParams p; InsetListingsParams p;
data = InsetListings::params2string(p); data = InsetListings::params2string(p);
break; break;
} }
case GRAPHICS_CODE: { case GRAPHICS_CODE: {
InsetGraphicsParams p; InsetGraphicsParams p;
data = InsetGraphics::params2string(p, *buffer); data = InsetGraphics::params2string(p, *buffer);
break; break;
} }
case NOTE_CODE: { case NOTE_CODE: {
InsetNoteParams p; InsetNoteParams p;
data = InsetNote::params2string(p); data = InsetNote::params2string(p);
break; break;
} }
case SPACE_CODE: { case SPACE_CODE: {
InsetSpaceParams p; InsetSpaceParams p;
data = InsetSpace::params2string(p); data = InsetSpace::params2string(p);
break; break;
} }
case VSPACE_CODE: { case VSPACE_CODE: {
VSpace space; VSpace space;
data = InsetVSpace::params2string(space); data = InsetVSpace::params2string(space);
break; break;
} }
case WRAP_CODE: { case WRAP_CODE: {
InsetWrapParams p; InsetWrapParams p;
data = InsetWrap::params2string(p); data = InsetWrap::params2string(p);