fix error introduced when fixing warnings due to -Wswitch

This commit is contained in:
Joachim Schmitz 2014-01-19 15:46:54 +01:00
parent 712a30d34f
commit 0b2610b360
2 changed files with 3 additions and 1 deletions

View file

@ -16,6 +16,7 @@ std::string formatting_options::get_par_str() const
break;
case formatting_options::align_left:
case formatting_options::align_error:
break;
}
if (papFirst!=0)
{
@ -188,7 +189,7 @@ std::string formatter::format(const formatting_options &_opt)
case font::ff_cursive: style+=", cursive"; break;
case font::ff_fantasy: style+=", fantasy"; break;
case font::ff_monospace: style+=", monospace"; break;
case font::ff_none:
case font::ff_none: break;
}
style+=";";
}

View file

@ -200,6 +200,7 @@ std::string table::make()
result+=" valign=bottom";
break;
case table_cell_def::valign_center:
break;
}
result+=">";