Kaydet (Commit) c16e4b10 authored tarafından Noel Grandin's avatar Noel Grandin

remove unused code PanelLayout::dispatch

full signature:
PanelLayout::dispatch(
    rtl::OUString const&,
    css::uno::Sequence<css::beans::PropertyValue> const&)

Change-Id: Ib16c32d69e62ccf000de05da7c6f25e993a5be90
üst 926583bd
...@@ -38,8 +38,6 @@ public: ...@@ -38,8 +38,6 @@ public:
virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags = WINDOW_POSSIZE_ALL); virtual void setPosSizePixel(long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags = WINDOW_POSSIZE_ALL);
virtual void queue_resize(); virtual void queue_resize();
void dispatch(const OUString& rCommand, const css::uno::Sequence<css::beans::PropertyValue>& rArgs =
css::uno::Sequence<css::beans::PropertyValue>());
}; };
#endif #endif
......
...@@ -91,21 +91,4 @@ void PanelLayout::setPosSizePixel(long nX, long nY, long nWidth, long nHeight, s ...@@ -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)); 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: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -55,7 +55,6 @@ OutputDevice::LogicToPixel(Region const&, MapMode const&) const ...@@ -55,7 +55,6 @@ OutputDevice::LogicToPixel(Region const&, MapMode const&) const
OutputDevice::LogicToPixel(basegfx::B2DPolygon const&) const OutputDevice::LogicToPixel(basegfx::B2DPolygon const&) const
OutputDevice::LogicToPixel(basegfx::B2DPolygon const&, MapMode const&) const OutputDevice::LogicToPixel(basegfx::B2DPolygon const&, MapMode const&) const
OutputDevice::PixelToLogic(Region const&, MapMode const&) const OutputDevice::PixelToLogic(Region const&, MapMode const&) const
PanelLayout::dispatch(rtl::OUString const&, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*) SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
ScDocument::CreateFormatTable() const ScDocument::CreateFormatTable() const
ScExtIButton::GetSelected() const ScExtIButton::GetSelected() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment