fix error introduced when fixing warnings due to -Wswitch
This commit is contained in:
parent
712a30d34f
commit
0b2610b360
2 changed files with 3 additions and 1 deletions
3
thirdparty/rtf2html/fmt_opts.cpp
vendored
3
thirdparty/rtf2html/fmt_opts.cpp
vendored
|
@ -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+=";";
|
||||
}
|
||||
|
|
1
thirdparty/rtf2html/rtf_table.cpp
vendored
1
thirdparty/rtf2html/rtf_table.cpp
vendored
|
@ -200,6 +200,7 @@ std::string table::make()
|
|||
result+=" valign=bottom";
|
||||
break;
|
||||
case table_cell_def::valign_center:
|
||||
break;
|
||||
}
|
||||
|
||||
result+=">";
|
||||
|
|
Loading…
Reference in a new issue