summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 13:53:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-06-29 17:34:00 +0200
commit74cd0d0b281f8df75612bfb600df2eae62c4d21d (patch)
treebbfb2e37d317ffad49267fe71fd270198fdb81e1 /sd/source
parent4c51f2e0dfdddfe0efb4218d2cd1deefd90b6eff (diff)
loplugin:unusedmethods
Change-Id: I95ab7581dec35b113cb657ce8e5ee27c89c73593 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153746 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/inc/DrawViewShell.hxx1
-rw-r--r--sd/source/ui/inc/SlideSorter.hxx2
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx7
-rw-r--r--sd/source/ui/view/drviews1.cxx10
4 files changed, 0 insertions, 20 deletions
diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx
index d3047cdeaf94..bf20af800f7e 100644
--- a/sd/source/ui/inc/DrawViewShell.hxx
+++ b/sd/source/ui/inc/DrawViewShell.hxx
@@ -252,7 +252,6 @@ public:
*/
bool SelectPage(sal_uInt16 nPage, sal_uInt16 nSelect);
bool IsSelected(sal_uInt16 nPage);
- bool IsVisible(sal_uInt16 nPage);
void GotoBookmark(std::u16string_view rBookmark);
//Realize multi-selection of objects, If object is marked, the
diff --git a/sd/source/ui/inc/SlideSorter.hxx b/sd/source/ui/inc/SlideSorter.hxx
index c922e5ce4238..cbd15bd6ac11 100644
--- a/sd/source/ui/inc/SlideSorter.hxx
+++ b/sd/source/ui/inc/SlideSorter.hxx
@@ -122,8 +122,6 @@ public:
*/
ViewShellBase* GetViewShellBase() const { return mpViewShellBase;}
- void Paint (const ::tools::Rectangle& rRepaintArea);
-
/** Place and size the controls and windows. You may want to call this
method when something has changed that for instance affects the
visibility state of the scroll bars.
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 534a7aa2fbf6..3428f1980468 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -158,13 +158,6 @@ Reference<frame::XController> SlideSorter::GetXController() const
return xController;
}
-void SlideSorter::Paint (const ::tools::Rectangle& rRepaintArea)
-{
- GetController().Paint(
- rRepaintArea,
- GetContentWindow());
-}
-
void SlideSorter::SetupControls()
{
GetVerticalScrollBar()->Show();
diff --git a/sd/source/ui/view/drviews1.cxx b/sd/source/ui/view/drviews1.cxx
index e41e87b08d55..f9378e1ec4fd 100644
--- a/sd/source/ui/view/drviews1.cxx
+++ b/sd/source/ui/view/drviews1.cxx
@@ -821,16 +821,6 @@ bool DrawViewShell::IsSelected(sal_uInt16 nPage)
return false;
}
-bool DrawViewShell::IsVisible(sal_uInt16 nPage)
-{
- slidesorter::SlideSorterViewShell* pVShell
- = slidesorter::SlideSorterViewShell::GetSlideSorter(GetViewShellBase());
- if (pVShell != nullptr)
- return pVShell->GetSlideSorter().GetController().GetPageSelector().IsPageVisible(nPage);
-
- return false;
-}
-
/**
* Switch to desired page.
* nSelectPage refers to the current EditMode