string result of formula is also valid, fdo#49052
Change-Id: I I0beb439381a0d01b27d219b148c47839055b6f62
This commit is contained in:
@@ -615,8 +615,16 @@ bool ScDBQueryDataIterator::DataAccessInternal::getCurrent(Value& rValue)
|
|||||||
rValue.mnError = ((ScFormulaCell*)pCell)->GetErrCode();
|
rValue.mnError = ((ScFormulaCell*)pCell)->GetErrCode();
|
||||||
return true; // gefunden
|
return true; // gefunden
|
||||||
}
|
}
|
||||||
else
|
else if(mpParam->mbSkipString)
|
||||||
nRow++;
|
nRow++;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rValue.maString = static_cast<ScFormulaCell*>(pCell)->GetString();
|
||||||
|
rValue.mfValue = 0.0;
|
||||||
|
rValue.mnError = static_cast<ScFormulaCell*>(pCell)->GetErrCode();
|
||||||
|
rValue.mbIsNumber = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CELLTYPE_STRING:
|
case CELLTYPE_STRING:
|
||||||
|
Reference in New Issue
Block a user