diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-21 13:40:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-07-21 22:16:57 +0200 |
commit | b735eba5a80984ca6c291e4265fae5551b11e64e (patch) | |
tree | 60078049b32d101dec44be278d78d37a7274781f /sd | |
parent | cc79cd60e98804bbb0f23234f45fa214040970ae (diff) |
loplugin:unusedmethods
Change-Id: Id2bbe63ca8d4255fd883798581ac7fa1fda7dba9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154723
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsPageSelector.cxx | 9 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx | 7 |
2 files changed, 0 insertions, 16 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx index cdd4f99b1521..f25374e8ac80 100644 --- a/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx +++ b/sd/source/ui/slidesorter/controller/SlsPageSelector.cxx @@ -218,15 +218,6 @@ bool PageSelector::IsPageSelected(int nPageIndex) return false; } -bool PageSelector::IsPageVisible(int nPageIndex) -{ - SharedPageDescriptor pDescriptor (mrModel.GetPageDescriptor(nPageIndex)); - if (pDescriptor) - return pDescriptor->HasState(PageDescriptor::ST_Visible); - else - return false; -} - bool PageSelector::IsPageExcluded(int nPageIndex) { SharedPageDescriptor pDescriptor(mrModel.GetPageDescriptor(nPageIndex)); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx index 6b720623a376..8ea46b3f36e7 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx @@ -92,13 +92,6 @@ public: */ SD_DLLPUBLIC bool IsPageSelected(int nPageIndex); - /** Return whether the specified page is visible. This convenience - method is a substitute for - SlideSorterModel::GetPageDescriptor(i)->HasState(ST_Visible) is - included here to make this class more self contained. - */ - bool IsPageVisible(int nPageIndex); - /** Return whether the specified page is excluded. This convenience method is a substitute for SlideSorterModel::GetPageDescriptor(i)->HasState(ST_Excluded) is |