Kaydet (Commit) c1e8cd6f authored tarafından Miklos Vajna's avatar Miklos Vajna

chart2: use constructor feature for ElementSelectorToolbarController

Change-Id: Iee99f1f86af4ed494dbbe33b31baeb707b7ed544
üst 211fe3f0
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
<component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@" <component loader="com.sun.star.loader.SharedLibrary" environment="@CPPU_ENV@"
prefix="chartcontroller" xmlns="http://openoffice.org/2010/uno-components"> prefix="chartcontroller" xmlns="http://openoffice.org/2010/uno-components">
<implementation name="com.sun.star.comp.chart.ElementSelectorToolbarController"> <implementation name="com.sun.star.comp.chart.ElementSelectorToolbarController"
constructor="com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation">
<service name="com.sun.star.frame.ToolbarController"/> <service name="com.sun.star.frame.ToolbarController"/>
</implementation> </implementation>
<implementation name="com.sun.star.comp.chart2.ChartController"> <implementation name="com.sun.star.comp.chart2.ChartController">
......
...@@ -318,4 +318,11 @@ uno::Reference< awt::XWindow > SAL_CALL ElementSelectorToolbarController::create ...@@ -318,4 +318,11 @@ uno::Reference< awt::XWindow > SAL_CALL ElementSelectorToolbarController::create
} // chart2 } // chart2
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation(css::uno::XComponentContext *context,
css::uno::Sequence<css::uno::Any> const &)
{
return cppu::acquire(new chart::ElementSelectorToolbarController(context));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -69,14 +69,6 @@ static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] = ...@@ -69,14 +69,6 @@ static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
, 0 , 0
, 0 , 0
} }
,{
::chart::ElementSelectorToolbarController::create
, ::chart::ElementSelectorToolbarController::getImplementationName_Static
, ::chart::ElementSelectorToolbarController::getSupportedServiceNames_Static
, ::cppu::createSingleComponentFactory
, 0
, 0
}
,{ ,{
::chart::ShapeToolbarController::create ::chart::ShapeToolbarController::create
, ::chart::ShapeToolbarController::getImplementationName_Static , ::chart::ShapeToolbarController::getImplementationName_Static
......
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