Skip to content

Commit

Permalink
fix missed merge conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlachs committed Sep 15, 2023
1 parent 61b9acd commit c0b0735
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions QXlsx/source/xlsxdocument.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1010,15 +1010,9 @@ bool Document::addConditionalFormatting(const ConditionalFormatting &cf)
*/
Cell *Document::cellAt(const CellReference &pos) const
{
<<<<<<< HEAD
if (Worksheet *sheet = currentWorksheet())
return sheet->cellAt(pos);
return nullptr;
=======
if (Worksheet *sheet = currentWorksheet())
return sheet->cellAt(pos);
return 0;
>>>>>>> upstream/master
}

/*!
Expand All @@ -1029,15 +1023,9 @@ Cell *Document::cellAt(const CellReference &pos) const
*/
Cell *Document::cellAt(int row, int col) const
{
<<<<<<< HEAD
if (Worksheet *sheet = currentWorksheet())
return sheet->cellAt(row, col);
return nullptr;
=======
if (Worksheet *sheet = currentWorksheet())
return sheet->cellAt(row, col);
return 0;
>>>>>>> upstream/master
}

/*!
Expand Down Expand Up @@ -1217,19 +1205,11 @@ AbstractSheet *Document::currentSheet() const
*/
Worksheet *Document::currentWorksheet() const
{
<<<<<<< HEAD
AbstractSheet *st = currentSheet();
if (st && st->sheetType() == AbstractSheet::ST_WorkSheet)
return static_cast<Worksheet *>(st);
else
return nullptr;
=======
AbstractSheet *st = currentSheet();
if (st && st->sheetType() == AbstractSheet::ST_WorkSheet)
return static_cast<Worksheet *>(st);
else
return 0;
>>>>>>> upstream/master
}

/*!
Expand Down

0 comments on commit c0b0735

Please sign in to comment.