mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
fixup formatting
This commit is contained in:
parent
5cc24fda39
commit
e5d6a26e17
|
@ -167,8 +167,7 @@ cell xlsx_consumer::read_cell()
|
||||||
if (in_element(sheetData_el))
|
if (in_element(sheetData_el))
|
||||||
{
|
{
|
||||||
expect_start_element(row_el, xml::content::complex); // CT_Row
|
expect_start_element(row_el, xml::content::complex); // CT_Row
|
||||||
// auto row_index = parser().attribute<row_t>("r");
|
auto row_index = static_cast<row_t>(std::stoul(parser().attribute("r")));
|
||||||
auto row_index = static_cast<row_t>(std::stoul(parser().attribute("r")));
|
|
||||||
|
|
||||||
if (parser().attribute_present("ht"))
|
if (parser().attribute_present("ht"))
|
||||||
{
|
{
|
||||||
|
@ -299,7 +298,7 @@ cell xlsx_consumer::read_cell()
|
||||||
|
|
||||||
if (!in_element(row_el))
|
if (!in_element(row_el))
|
||||||
{
|
{
|
||||||
expect_end_element(row_el);
|
expect_end_element(row_el);
|
||||||
|
|
||||||
if (!in_element(sheetData_el))
|
if (!in_element(sheetData_el))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user