Refactor : Worksheet load xml logic
This commit is contained in:
@@ -61,6 +61,11 @@ int SharedStrings::addSharedString(const QString &string)
|
||||
|
||||
void SharedStrings::incRefByStringIndex(int idx)
|
||||
{
|
||||
if (idx <0 || idx >= m_stringList.size()) {
|
||||
qDebug("SharedStrings: invlid index");
|
||||
return;
|
||||
}
|
||||
|
||||
addSharedString(m_stringList[idx]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user