summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-15 09:25:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-15 10:22:24 +0100
commit3962122a5810b7679abf03a7e0c15e56f0b3d9ab (patch)
treeaf1522f42eac8e4a556c56684f34bafe3b004e41 /sd/source/ui/inc
parent0d168764e0299f48ce56970092c990fd44355f8a (diff)
callcatcher: update unused code
Change-Id: Ia2452eb82139039e1e6dc98e61ffb32b4091b94f
Diffstat (limited to 'sd/source/ui/inc')
-rw-r--r--sd/source/ui/inc/framework/FrameworkHelper.hxx11
-rw-r--r--sd/source/ui/inc/framework/ResourceId.hxx11
-rw-r--r--sd/source/ui/inc/framework/TaskPanelResource.hxx84
3 files changed, 0 insertions, 106 deletions
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index b4778dc32810..ff9acf7dedd2 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -194,17 +194,6 @@ public:
cssu::Reference<cssdf::XView> GetView (
const cssu::Reference<cssdf::XResourceId>& rxPaneOrViewId);
- /** Return the XWindow that is represented by the pane with the
- given resource id.
- */
- cssu::Reference<css::awt::XWindow> GetPaneWindow (
- const cssu::Reference<cssdf::XResourceId>& rxPaneId);
-
- /** Return the XResource object with the given resource id.
- */
- cssu::Reference<cssdf::XResource> GetResource (
- const cssu::Reference<cssdf::XResourceId>& rxResourceId);
-
/** Request the specified view to be displayed in the specified pane.
When the pane is not visible its creation is also requested. The
update that creates the actual view object is done asynchronously.
diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index a0f763fbc8b2..f851bbf2d210 100644
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -82,17 +82,6 @@ public:
const OUString& rsResourceURL,
const OUString& rsAnchorURL);
- /** Create a new resource id for the specified resource type and the
- given list of anchor URLs.
- @param rsResourceURL
- The URL of the actual resource.
- @param rsAnchorURLs
- The possibly empty list of anchor URLs.
- */
- ResourceId (
- const OUString& rsResourceURL,
- const ::std::vector<OUString>& rAnchorURLs);
-
/** Create a new resource id with an anchor that consists of a sequence
of URLs that is extended by a further URL.
@param rsResourceURL
diff --git a/sd/source/ui/inc/framework/TaskPanelResource.hxx b/sd/source/ui/inc/framework/TaskPanelResource.hxx
deleted file mode 100644
index 0ac6356829ef..000000000000
--- a/sd/source/ui/inc/framework/TaskPanelResource.hxx
+++ /dev/null
@@ -1,84 +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 .
- */
-#include <cppuhelper/compbase1.hxx>
-#include <cppuhelper/basemutex.hxx>
-
-#include "SidebarPanelId.hxx"
-
-#include <com/sun/star/drawing/framework/XResource.hpp>
-#include <boost/scoped_ptr.hpp>
-
-
-namespace css = ::com::sun::star;
-namespace cssu = ::com::sun::star::uno;
-namespace cssdf = ::com::sun::star::drawing::framework;
-
-class Window;
-
-namespace sd { namespace sidebar {
- class SidebarViewShell;
-} }
-
-
-namespace sd { namespace framework {
-
-typedef ::cppu::WeakComponentImplHelper1 <
- cssdf::XResource
- > TaskPanelResourceInterfaceBase;
-
-
-/** A simple wrapper around a legacy task pane control that gives
- access to that control (via GetControl()).
-*/
-class TaskPanelResource
- : private ::cppu::BaseMutex,
- public TaskPanelResourceInterfaceBase
-{
-public:
- /** Create a resource object that represents the legacy taskpane
- panel.
- @param rxResourceId
- drawing framework resource id
- @param pControl
- The new TaskPanelResource object takes ownership for this control.
- */
- TaskPanelResource (
- sidebar::SidebarViewShell& rSidebarViewShell,
- sidebar::PanelId ePanelId,
- const cssu::Reference<cssdf::XResourceId>& rxResourceId);
- virtual ~TaskPanelResource (void);
- virtual void SAL_CALL disposing (void);
-
- // XResource
- virtual cssu::Reference<cssdf::XResourceId> SAL_CALL getResourceId (void) throw (cssu::RuntimeException);
- virtual sal_Bool SAL_CALL isAnchorOnly () throw (cssu::RuntimeException);
-
- ::Window* GetControl (void) const;
-
-private:
- const cssu::Reference<cssdf::XResourceId> mxResourceId;
- // Using auto_ptr because it has release(), what scoped_ptr doesn't.
- ::std::auto_ptr< ::Window> mpControl;
-
- DECL_LINK(WindowEventHandler,VclWindowEvent*);
-};
-
-} } // end of namespace sd::framework
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */