diff --git a/gpt4all-chat/src/xlsxtomd.cpp b/gpt4all-chat/src/xlsxtomd.cpp index f9ca320b..725020b1 100644 --- a/gpt4all-chat/src/xlsxtomd.cpp +++ b/gpt4all-chat/src/xlsxtomd.cpp @@ -43,7 +43,8 @@ QString formatCellText(const QXlsx::Cell *cell) return formattedText; } -QString getCellValue(QXlsx::Worksheet *sheet, int row, int col) { +QString getCellValue(QXlsx::Worksheet *sheet, int row, int col) +{ if (!sheet) return QString();