summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/core/data/dociter.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx
index f2a96338a553..92c7cbd2bfef 100644
--- a/sc/source/core/data/dociter.cxx
+++ b/sc/source/core/data/dociter.cxx
@@ -615,8 +615,16 @@ bool ScDBQueryDataIterator::DataAccessInternal::getCurrent(Value& rValue)
rValue.mnError = ((ScFormulaCell*)pCell)->GetErrCode();
return true; // gefunden
}
- else
+ else if(mpParam->mbSkipString)
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;
case CELLTYPE_STRING: