summaryrefslogtreecommitdiffstats
path: root/sc/inc/mtvcellfunc.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-02-17 21:57:01 -0500
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-02-17 22:26:40 -0500
commit575e88da278f536ebfb6562dfd98f341240afec4 (patch)
treec1791559e13589647c88e4d4e09ab3034c876604 /sc/inc/mtvcellfunc.hxx
parentfdo#75032: Extend the test to catch another use case. (diff)
downloadcore-575e88da278f536ebfb6562dfd98f341240afec4.tar.gz
core-575e88da278f536ebfb6562dfd98f341240afec4.zip
fdo#75032: Handle note copying correctly.
Change-Id: I1b8fa5231b23554c856fb63b580cb13ea9223b08
Diffstat (limited to 'sc/inc/mtvcellfunc.hxx')
-rw-r--r--sc/inc/mtvcellfunc.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/sc/inc/mtvcellfunc.hxx b/sc/inc/mtvcellfunc.hxx
index fc6d2dcd74b0..d5e79218a350 100644
--- a/sc/inc/mtvcellfunc.hxx
+++ b/sc/inc/mtvcellfunc.hxx
@@ -166,6 +166,17 @@ void ProcessNote(CellNoteStoreType& rStore, _Func& rFunc)
ProcessElements1<CellNoteStoreType, cellnote_block, _Func, FuncElseNoOp<size_t> >(rStore, rFunc, aElse);
}
+template<typename _Func>
+typename CellNoteStoreType::const_iterator
+ParseNote(
+ const CellNoteStoreType::const_iterator& itPos, const CellNoteStoreType& rStore,
+ SCROW nStart, SCROW nEnd, _Func& rFunc)
+{
+ FuncElseNoOp<size_t> aElse;
+ return ParseElements1<CellNoteStoreType, cellnote_block, _Func, FuncElseNoOp<size_t> >(
+ itPos, rStore, nStart, nEnd, rFunc, aElse);
+}
+
template<typename _FuncElem>
typename CellNoteStoreType::iterator
ProcessNote(