void InsetCommandParams::setFromString( string const & b )
{
string::size_type idx = b.find("|++|");
- if( idx == string::npos ) {
+ if (idx == string::npos) {
cmdname = "";
options = "";
contents = "";
string tmp = b.substr(idx+4);
idx = tmp.find("|++|");
- if( idx == string::npos ) {
+ if (idx == string::npos) {
options = tmp;
} else {
options = tmp.substr(0, idx);
}
-int InsetCommand::Ascii(Buffer const *, ostream &) const
+int InsetCommand::Ascii(Buffer const *, ostream &, int) const
{
return 0;
}