mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fix travis build
This commit is contained in:
parent
b108794579
commit
6b80eb5a95
|
@ -397,7 +397,7 @@ void style_reader::read_borders(pugi::xml_node borders_node)
|
|||
border new_border;
|
||||
|
||||
const std::vector<std::tuple<std::string, side *, bool *>> sides =
|
||||
{
|
||||
{{
|
||||
{"start", &new_border.start, &new_border.start_assigned},
|
||||
{"end", &new_border.end, &new_border.end_assigned},
|
||||
{"left", &new_border.left, &new_border.left_assigned},
|
||||
|
@ -407,7 +407,7 @@ void style_reader::read_borders(pugi::xml_node borders_node)
|
|||
{"diagonal", &new_border.diagonal, &new_border.diagonal_assigned},
|
||||
{"vertical", &new_border.vertical, &new_border.vertical_assigned},
|
||||
{"horizontal", &new_border.horizontal, &new_border.horizontal_assigned}
|
||||
};
|
||||
}};
|
||||
|
||||
for(const auto &side : sides)
|
||||
{
|
||||
|
|
|
@ -167,7 +167,7 @@ std::string style_writer::write_table() const
|
|||
auto border_node = borders_node.append_child("border");
|
||||
|
||||
const std::vector<std::tuple<std::string, const side, bool>> sides =
|
||||
{
|
||||
{{
|
||||
{"start", border_.start, border_.start_assigned},
|
||||
{"end", border_.end, border_.end_assigned},
|
||||
{"left", border_.left, border_.left_assigned},
|
||||
|
@ -177,7 +177,7 @@ std::string style_writer::write_table() const
|
|||
{"diagonal", border_.diagonal, border_.diagonal_assigned},
|
||||
{"vertical", border_.vertical, border_.vertical_assigned},
|
||||
{"horizontal", border_.horizontal, border_.horizontal_assigned}
|
||||
};
|
||||
}};
|
||||
|
||||
for(const auto &side_tuple : sides)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user