Skip to content

Commit

Permalink
Add missing constness.
Browse files Browse the repository at this point in the history
  • Loading branch information
przemek83 committed Dec 29, 2024
1 parent 416b9e8 commit 74a014b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/eible/ImportXlsx.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class EIBLE_EXPORT ImportXlsx : public ImportSpreadsheet
int getCurrentColumnNumber(const QXmlStreamReader& xmlStreamReader,
int rowCountDigitsInXlsx) const;

ColumnType recognizeColumnType(ColumnType currentType,
QXmlStreamReader& xmlStreamReader) const;
ColumnType recognizeColumnType(
ColumnType currentType, const QXmlStreamReader& xmlStreamReader) const;

QVariant getCurrentValue(QXmlStreamReader& xmlStreamReader,
ColumnType currentColumnFormat,
Expand Down
2 changes: 1 addition & 1 deletion src/ImportXlsx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ int ImportXlsx::getCurrentColumnNumber(const QXmlStreamReader& xmlStreamReader,
}

ColumnType ImportXlsx::recognizeColumnType(
ColumnType currentType, QXmlStreamReader& xmlStreamReader) const
ColumnType currentType, const QXmlStreamReader& xmlStreamReader) const
{
if (ColumnType::STRING == currentType)
return currentType;
Expand Down

0 comments on commit 74a014b

Please sign in to comment.