summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/doctreenode.hxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-06-28 14:51:31 +1000
committerAron Budea <aron.budea@collabora.com>2018-06-28 19:09:44 +0200
commite6f945ad12245496f09d01f05ca75d673b3d58d2 (patch)
treef9e63251de4d294e64df8a8c523108c8e69afdbc /slideshow/source/inc/doctreenode.hxx
parentc5463b865f4096246833d2cee9cbfbae336151e5 (diff)
tdf#102195: don't exclude everything between first and last subset
When subsets are non-contiguous, we need to include the parts between subsets. Change-Id: I28214dccc75e6a6af5c65397b2126049a65bf79f Reviewed-on: https://gerrit.libreoffice.org/56575 Reviewed-by: Aron Budea <aron.budea@collabora.com> Tested-by: Aron Budea <aron.budea@collabora.com>
Diffstat (limited to 'slideshow/source/inc/doctreenode.hxx')
-rw-r--r--slideshow/source/inc/doctreenode.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/slideshow/source/inc/doctreenode.hxx b/slideshow/source/inc/doctreenode.hxx
index 584832cc3b9d..edcc17c54e50 100644
--- a/slideshow/source/inc/doctreenode.hxx
+++ b/slideshow/source/inc/doctreenode.hxx
@@ -102,6 +102,7 @@ namespace slideshow
bool isEmpty() const { return mnStartIndex == mnEndIndex; }
sal_Int32 getStartIndex() const { return mnStartIndex; }
+ void setStartIndex( sal_Int32 nIndex ) { mnStartIndex = nIndex; }
sal_Int32 getEndIndex() const { return mnEndIndex; }
void setEndIndex( sal_Int32 nIndex ) { mnEndIndex = nIndex; }