summaryrefslogtreecommitdiff
path: root/sc/inc/mtvcellfunc.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-06-18 19:18:17 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-06-24 16:51:28 -0400
commitcb4a47887df282196c9aa529269d5115306813c1 (patch)
tree4251446c49c3999fb1a546a3ea9b837462b82fd6 /sc/inc/mtvcellfunc.hxx
parent3b3b0c04385851f120dc26d26e40f0d1c6344274 (diff)
Leave the RowInfo's for empty cells unfilled.
Else empty cell regions would get skipped and the non-empty cells would get displayed at incorrect row positions. Change-Id: Ica8d1c654458e0ea508e8f00846180d89bfe8804
Diffstat (limited to 'sc/inc/mtvcellfunc.hxx')
-rw-r--r--sc/inc/mtvcellfunc.hxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/sc/inc/mtvcellfunc.hxx b/sc/inc/mtvcellfunc.hxx
index 9ce3c12ea8cc..c54d02ebd339 100644
--- a/sc/inc/mtvcellfunc.hxx
+++ b/sc/inc/mtvcellfunc.hxx
@@ -112,6 +112,18 @@ ParseAllNonEmpty(
itPos, rCells, nRow1, nRow2, rFunc, aElse);
}
+template<typename _FuncElem, typename _FuncElse>
+typename CellStoreType::const_iterator
+ParseAllNonEmpty(
+ const typename CellStoreType::const_iterator& itPos, const CellStoreType& rCells,
+ SCROW nRow1, SCROW nRow2, _FuncElem& rFuncElem, _FuncElse& rFuncElse)
+{
+ return ParseElements4<CellStoreType,
+ numeric_block, string_block, edittext_block, formula_block,
+ _FuncElem, _FuncElse>(
+ itPos, rCells, nRow1, nRow2, rFuncElem, rFuncElse);
+}
+
template<typename _Func>
typename CellStoreType::const_iterator
ParseFormulaNumeric(