Skip to content

Commit

Permalink
Fix error: invalid conversion from 'int' to 'const char*'
Browse files Browse the repository at this point in the history
  • Loading branch information
GAlexDark committed Jun 15, 2023
1 parent aaaea07 commit e3aec4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/officeopenxml/sml/smlworkbook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ QString Workbook::bookView(const QString &attribute) const
return QString();
if (!bookViews_raw[0].contains(attribute))
return QString();
return bookViews_raw[0][attribute].toInt();
return QString::fromStdString(bookViews_raw[0][attribute].toStdString());
}

void Workbook::setBookView(const QString &attribute, const QString &val)
Expand Down

0 comments on commit e3aec4e

Please sign in to comment.