summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-12-07 16:06:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-12-07 16:59:28 +0100
commitb541cd9a8038810ce449f8c49ae179d9d6eaa7e8 (patch)
tree291a876a7d947b43cf9b59ef752e1a38bcb89851 /sfx2/inc
parent2538188ee85513cb80eb8aa8f925082d86ff711d (diff)
loplugin:unusedmethods
Change-Id: Ib51fd610c5188fe95872d509f004ae88f38c5417 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107351 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sidebar/Accessible.hxx60
-rw-r--r--sfx2/inc/sidebar/DeckTitleBar.hxx2
-rw-r--r--sfx2/inc/sidebar/SidebarToolBox.hxx3
3 files changed, 0 insertions, 65 deletions
diff --git a/sfx2/inc/sidebar/Accessible.hxx b/sfx2/inc/sidebar/Accessible.hxx
deleted file mode 100644
index 3f3d351ed8d8..000000000000
--- a/sfx2/inc/sidebar/Accessible.hxx
+++ /dev/null
@@ -1,60 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#pragma once
-
-#include <com/sun/star/accessibility/XAccessible.hpp>
-
-#include <cppuhelper/compbase.hxx>
-#include <cppuhelper/basemutex.hxx>
-
-namespace com::sun::star::accessibility { class XAccessibleContext; }
-
-typedef cppu::WeakComponentImplHelper <
- css::accessibility::XAccessible
- > AccessibleInterfaceBase;
-
-namespace sfx2::sidebar {
-
-
-/** Simple implementation of the XAccessible interface.
- Its getAccessibleContext() method returns a context object given
- to its constructor.
-*/
-class Accessible final
- : private ::cppu::BaseMutex,
- public AccessibleInterfaceBase
-{
-public:
- explicit Accessible (
- const css::uno::Reference<css::accessibility::XAccessibleContext>& rxContext);
- virtual ~Accessible() override;
- Accessible(const Accessible&) = delete;
- Accessible& operator=( const Accessible& ) = delete;
-
- virtual void SAL_CALL disposing() override;
- // XAccessible
- virtual css::uno::Reference<css::accessibility::XAccessibleContext> SAL_CALL getAccessibleContext() override;
-
-private:
- css::uno::Reference<css::accessibility::XAccessibleContext> mxContext;
-};
-
-} // end of namespace sfx2::sidebar
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/inc/sidebar/DeckTitleBar.hxx b/sfx2/inc/sidebar/DeckTitleBar.hxx
index 29dec2d47c3a..cad5dac3d8f4 100644
--- a/sfx2/inc/sidebar/DeckTitleBar.hxx
+++ b/sfx2/inc/sidebar/DeckTitleBar.hxx
@@ -44,8 +44,6 @@ public:
private:
virtual void HandleToolBoxItemClick() override;
- DECL_LINK(DrawGripHdl, weld::DrawingArea::draw_args, void);
-
std::unique_ptr<GripWidget> mxGripWidget;
std::unique_ptr<weld::CustomWeld> mxGripWeld;
std::unique_ptr<weld::Label> mxLabel;
diff --git a/sfx2/inc/sidebar/SidebarToolBox.hxx b/sfx2/inc/sidebar/SidebarToolBox.hxx
index 33bfc9ec3437..38b49b49c57d 100644
--- a/sfx2/inc/sidebar/SidebarToolBox.hxx
+++ b/sfx2/inc/sidebar/SidebarToolBox.hxx
@@ -52,9 +52,6 @@ public:
virtual bool EventNotify(NotifyEvent& rEvent) override;
virtual void KeyInput( const KeyEvent& rKEvt ) override;
- void SetController(const sal_uInt16 nItemId,
- const css::uno::Reference<css::frame::XToolbarController>& rxController);
-
void InitToolBox(VclBuilder::stringmap& rMap);
protected: