Remove some calls that do nothing but print an error message.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18497 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2007-05-24 19:21:21 +00:00
parent 5fed0e44ed
commit adc3d95451

View File

@ -276,10 +276,8 @@ void QInclude::apply()
int const item = dialog_->typeCO->currentIndex();
if (item == 0) {
params.setCmdName("include");
params.setOptions(string());
} else if (item == 1) {
params.setCmdName("input");
params.setOptions(string());
} else if (item == 3) {
params.setCmdName("lstinputlisting");
// the parameter string should have passed validation
@ -296,7 +294,6 @@ void QInclude::apply()
params.setCmdName("verbatiminput*");
else
params.setCmdName("verbatiminput");
params.setOptions(string());
}
controller().setParams(params);
}