summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-05 11:06:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-05 14:58:01 +0000
commitb7804c42c2bb86bdd7824cf07905d843e671df40 (patch)
treee6b60d5dfc92813412f276119f584137f048e8b9 /sd
parent12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (diff)
callcatcher: update unused code
Change-Id: I792c007541d4d703f17c8cdcd2d441ca505acc52
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx20
-rw-r--r--sd/source/ui/inc/framework/FrameworkHelper.hxx3
2 files changed, 0 insertions, 23 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index 539f07f99ca5..a22e70ba9c87 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -324,26 +324,6 @@ public:
FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap;
-::boost::shared_ptr<FrameworkHelper> FrameworkHelper::Instance (
- const Reference<frame::XController>& rxController)
-{
- // Tunnel through the controller to obtain a ViewShellBase.
- Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY);
- if (xTunnel.is())
- {
- ::sd::DrawController* pController = reinterpret_cast<sd::DrawController*>(
- xTunnel->getSomething(sd::DrawController::getUnoTunnelId()));
- if (pController != NULL)
- {
- ViewShellBase* pBase = pController->GetViewShellBase();
- if (pBase != NULL)
- return Instance(*pBase);
- }
- }
-
- return ::boost::shared_ptr<FrameworkHelper>();
-}
-
::boost::shared_ptr<FrameworkHelper> FrameworkHelper::Instance (ViewShellBase& rBase)
{
diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx
index a5d29a28b939..ca2a33db4919 100644
--- a/sd/source/ui/inc/framework/FrameworkHelper.hxx
+++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx
@@ -109,9 +109,6 @@ public:
*/
static ::boost::shared_ptr<FrameworkHelper> Instance (ViewShellBase& rBase);
- static ::boost::shared_ptr<FrameworkHelper> Instance (
- const css::uno::Reference<css::frame::XController>& rxController);
-
/** Mark the FrameworkHelper object for the given ViewShellBase as
disposed. A following ReleaseInstance() call will destroy the
FrameworkHelper object.