diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-15 09:12:54 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-05-16 15:14:59 +0200 |
commit | 1489aa7467a2131e48d2995107d1415d9e59ea9e (patch) | |
tree | 261f243c167740b974d954c2bd33551fc7cfc6f4 | |
parent | b55a88af6eeeb940c0037e68008ee0b23896658d (diff) |
document ScMarkArray a little
because it took a loooong time staring at the code to figure it out
Change-Id: Ia8f3b835cd7d18737e4b0ffe1aa67ad001822d82
Reviewed-on: https://gerrit.libreoffice.org/72395
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | sc/inc/markarr.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sc/inc/markarr.hxx b/sc/inc/markarr.hxx index d30168d0471e..54059fcbb04a 100644 --- a/sc/inc/markarr.hxx +++ b/sc/inc/markarr.hxx @@ -31,6 +31,11 @@ struct ScMarkEntry bool bMarked; }; +/** + This is a rather odd datastructure. We store alternating marked/not-marked entries, + and for each entry the range is defined as : + [previousEntry.nRow+1, currentEntry.nRow] +*/ class ScMarkArray { SCSIZE nCount; |