diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-29 16:34:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-06-30 15:14:14 +0200 |
commit | c33e81615c85eb9acd5956973e3bbc27ea068b41 (patch) | |
tree | d4061b481a75eab3d9d7140765adf16ebf79e201 /sd/source | |
parent | 105f057f5b994b7d79a55ca719240839c2d45b54 (diff) |
loplugin:unusedmethods
Change-Id: I8d3402a69237b665462e04440ad73fe29e2133db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153807
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-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 21affcf2f5da..cf20d5cb530e 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; -} - int PageSelector::GetPageCount() const { return mrModel.GetPageCount(); diff --git a/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx b/sd/source/ui/slidesorter/inc/controller/SlsPageSelector.hxx index 6a4b75004780..ae884416a1cd 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); - /** Deselect the descriptor that is associated with the given page. The current page is updated to the first slide of the remaining selection. |