diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-27 11:49:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-28 08:32:01 +0200 |
commit | c16e4b10196e73aec63be13488e235496946d8b7 (patch) | |
tree | bf148a477890878e08655150c006c1942de1224d /svx/source/sidebar | |
parent | 926583bd37fafad7f8eda82845f8d491eb41f7bf (diff) |
remove unused code PanelLayout::dispatch
full signature:
PanelLayout::dispatch(
rtl::OUString const&,
css::uno::Sequence<css::beans::PropertyValue> const&)
Change-Id: Ib16c32d69e62ccf000de05da7c6f25e993a5be90
Diffstat (limited to 'svx/source/sidebar')
-rw-r--r-- | svx/source/sidebar/PanelLayout.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx index 72bdfc245413..9635fcc512e1 100644 --- a/svx/source/sidebar/PanelLayout.cxx +++ b/svx/source/sidebar/PanelLayout.cxx @@ -91,21 +91,4 @@ void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, s VclContainer::setLayoutAllocation(*pChild, Point(0, 0), Size(nWidth, nHeight)); } -void PanelLayout::dispatch(const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rArgs) -{ - assert(getFrame().is()); - - css::util::URL aURL; - aURL.Complete = rCommand; - - css::uno::Reference<css::util::XURLTransformer > xURLTransformer( - css::util::URLTransformer::create(comphelper::getProcessComponentContext())); - - xURLTransformer->parseStrict(aURL); - - css::uno::Reference<css::frame::XDispatchProvider> xProvider(getFrame(), css::uno::UNO_QUERY_THROW); - css::uno::Reference<css::frame::XDispatch > xDispatch(xProvider->queryDispatch(aURL, OUString(), 0)); - xDispatch->dispatch(aURL, rArgs); -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |