Browse Source

Fix compile error caused by b213f56ca0

master
Debao Zhang 10 years ago
parent
commit
d50b419f64
  1. 2
      src/xlsx/xlsxworkbook.cpp

2
src/xlsx/xlsxworkbook.cpp

@ -574,7 +574,7 @@ bool Workbook::loadFromXmlFile(QIODevice *device)
const QString name = attributes.value(QLatin1String("name")).toString(); const QString name = attributes.value(QLatin1String("name")).toString();
int sheetId = attributes.value(QLatin1String("sheetId")).toString().toInt(); int sheetId = attributes.value(QLatin1String("sheetId")).toString().toInt();
const QString rId = attributes.value(QLatin1String("r:id")).toString(); const QString rId = attributes.value(QLatin1String("r:id")).toString();
QStringRef &stateString = attributes.value(QLatin1String("state")); const QStringRef &stateString = attributes.value(QLatin1String("state"));
AbstractSheet::SheetState state = AbstractSheet::SS_Visible; AbstractSheet::SheetState state = AbstractSheet::SS_Visible;
if (stateString == QLatin1String("hidden")) if (stateString == QLatin1String("hidden"))
state = AbstractSheet::SS_Hidden; state = AbstractSheet::SS_Hidden;

Loading…
Cancel
Save