1
0
mirror of https://github.com/QtExcel/QXlsx.git synced 2025-01-30 05:02:52 +08:00

Remove undefined CellReference::fromString

FIXES: #327
This commit is contained in:
Daniel Nicoletti 2024-09-03 10:08:27 -03:00
parent 35c6d274cb
commit fda6b806e2
2 changed files with 7 additions and 6 deletions

View File

@ -7,10 +7,6 @@
QT_BEGIN_NAMESPACE_XLSX
const int XLSX_ROW_MAX = 1048576;
const int XLSX_COLUMN_MAX = 16384;
const int XLSX_STRING_MAX = 32767;
class QXLSX_EXPORT CellReference
{
public:
@ -29,7 +25,6 @@ public:
~CellReference();
QString toString(bool row_abs = false, bool col_abs = false) const;
static CellReference fromString(const QString &cell);
bool isValid() const;
inline void setRow(int row) { _row = row; }
inline void setColumn(int col) { _column = col; }

View File

@ -42,6 +42,12 @@
QT_BEGIN_NAMESPACE_XLSX
namespace {
const int XLSX_ROW_MAX = 1048576;
const int XLSX_COLUMN_MAX = 16384;
const int XLSX_STRING_MAX = 32767;
} // namespace
WorksheetPrivate::WorksheetPrivate(Worksheet *p, Worksheet::CreateFlag flag)
: AbstractSheetPrivate(p, flag)
, windowProtection(false)