Browse Source

Fix Issue #54 calendar Example crash

Caused by SHA 9ce8b92b4f
master
Debao Zhang 10 years ago
parent
commit
12e781eb4e
  1. 2
      src/xlsx/xlsxworksheet.cpp

2
src/xlsx/xlsxworksheet.cpp

@ -2253,7 +2253,7 @@ QList <QSharedPointer<XlsxRowInfo> > WorksheetPrivate::getRowInfoList(int rowFir
{
QList <QSharedPointer<XlsxRowInfo> > rowInfoList;
int min_col = dimension.firstColumn() < 0 ? 0 : dimension.firstColumn();
int min_col = dimension.firstColumn() < 1 ? 1 : dimension.firstColumn();
for(int row = rowFirst; row <= rowLast; ++row) {
if (checkDimensions(row, min_col, false, true))

Loading…
Cancel
Save