Add static to these methods.

Signed-off-by: Adam Treat <treat.adam@gmail.com>
This commit is contained in:
Adam Treat 2024-09-30 13:15:35 -04:00
parent dff8c39970
commit 9b2fe9794a

View File

@ -4,7 +4,7 @@
#include <xlsxdocument.h> #include <xlsxdocument.h>
#include <xlsxworkbook.h> #include <xlsxworkbook.h>
QString formatCellText(const QXlsx::Cell *cell) static QString formatCellText(const QXlsx::Cell *cell)
{ {
if (!cell) return QString(); if (!cell) return QString();
@ -43,7 +43,7 @@ QString formatCellText(const QXlsx::Cell *cell)
return formattedText; return formattedText;
} }
QString getCellValue(QXlsx::Worksheet *sheet, int row, int col) static QString getCellValue(QXlsx::Worksheet *sheet, int row, int col)
{ {
if (!sheet) if (!sheet)
return QString(); return QString();