summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-22 15:08:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-09-22 18:56:58 +0000
commitc4cd079b8f613084a99a83b95c3968b65cbd8900 (patch)
tree16051edcfd1f7109aefa08af6d71da0687b20f8a /sw/source/uibase
parentba3d6d8a39d31316923d2326059c07b0a7e3c05e (diff)
loplugin:unusedmethods in sc..vcl
Change-Id: I70fcf95dfd3db05b4fd6e5cee37866f673d3afa8 Reviewed-on: https://gerrit.libreoffice.org/29183 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/inc/navipi.hxx2
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.cxx17
-rw-r--r--sw/source/uibase/sidebar/PagePropertyPanel.hxx5
-rw-r--r--sw/source/uibase/utlui/navipi.cxx10
4 files changed, 0 insertions, 34 deletions
diff --git a/sw/source/uibase/inc/navipi.hxx b/sw/source/uibase/inc/navipi.hxx
index b1635c94421c..daeed3fc94f1 100644
--- a/sw/source/uibase/inc/navipi.hxx
+++ b/sw/source/uibase/inc/navipi.hxx
@@ -138,8 +138,6 @@ public:
virtual ~SwNavigationPI() override;
virtual void dispose() override;
- void GotoPage(); // jump to page; bindable function
-
void UpdateListBox();
void MoveOutline(sal_uInt16 nSource, sal_uInt16 nTarget, bool bWithCilds);
diff --git a/sw/source/uibase/sidebar/PagePropertyPanel.cxx b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
index f754118a8844..9094088b250e 100644
--- a/sw/source/uibase/sidebar/PagePropertyPanel.cxx
+++ b/sw/source/uibase/sidebar/PagePropertyPanel.cxx
@@ -75,23 +75,6 @@ namespace {
namespace sw { namespace sidebar {
-VclPtr<vcl::Window> PagePropertyPanel::Create (
- vcl::Window* pParent,
- const css::uno::Reference< css::frame::XFrame>& rxFrame,
- SfxBindings* pBindings)
-{
- if (pParent == nullptr)
- throw css::lang::IllegalArgumentException("no parent Window given to PagePropertyPanel::Create", nullptr, 0);
- if ( ! rxFrame.is())
- throw css::lang::IllegalArgumentException("no XFrame given to PagePropertyPanel::Create", nullptr, 1);
- if (pBindings == nullptr)
- throw css::lang::IllegalArgumentException("no SfxBindings given to PagePropertyPanel::Create", nullptr, 2);
-
- return VclPtr<PagePropertyPanel>::Create( pParent,
- rxFrame,
- pBindings);
-}
-
PagePropertyPanel::PagePropertyPanel(
vcl::Window* pParent,
const css::uno::Reference< css::frame::XFrame>& rxFrame,
diff --git a/sw/source/uibase/sidebar/PagePropertyPanel.hxx b/sw/source/uibase/sidebar/PagePropertyPanel.hxx
index a798c43cfc09..a9bded236ef1 100644
--- a/sw/source/uibase/sidebar/PagePropertyPanel.hxx
+++ b/sw/source/uibase/sidebar/PagePropertyPanel.hxx
@@ -54,11 +54,6 @@ namespace sw { namespace sidebar {
public ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
{
public:
- static VclPtr<vcl::Window> Create(
- vcl::Window* pParent,
- const css::uno::Reference< css::frame::XFrame>& rxFrame,
- SfxBindings* pBindings );
-
// interface of ::sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate(
const sal_uInt16 nSId,
diff --git a/sw/source/uibase/utlui/navipi.cxx b/sw/source/uibase/utlui/navipi.cxx
index 31827aec353d..9212c076ae47 100644
--- a/sw/source/uibase/utlui/navipi.cxx
+++ b/sw/source/uibase/utlui/navipi.cxx
@@ -525,16 +525,6 @@ void SwNavigationPI::MakeMark()
m_nAutoMarkIdx = 0;
}
-void SwNavigationPI::GotoPage()
-{
- if (m_pContextWin && m_pContextWin->GetFloatingWindow() && m_pContextWin->GetFloatingWindow()->IsRollUp())
- ZoomIn();
- if(IsGlobalMode())
- ToggleTree();
- UsePage();
- GetPageEdit().GrabFocus();
-}
-
void SwNavigationPI::ZoomOut()
{
if (IsZoomedIn())