sc/inc/markarr.hxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 1489aa7467a2131e48d2995107d1415d9e59ea9e
Author: Noel Grandin <[email protected]>
AuthorDate: Wed May 15 09:12:54 2019 +0200
Commit: Noel Grandin <[email protected]>
CommitDate: Thu May 16 15:14:59 2019 +0200
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 <[email protected]>
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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits