chart2: use constructor feature for ChartController
Change-Id: Ie6c5c0e20ae2b2f38f176dee90c33e5baba100a5
This commit is contained in:
@@ -23,7 +23,8 @@
|
|||||||
constructor="com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation">
|
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"
|
||||||
|
constructor="com_sun_star_comp_chart2_ChartController_get_implementation">
|
||||||
<service name="com.sun.star.chart2.ChartController"/>
|
<service name="com.sun.star.chart2.ChartController"/>
|
||||||
<service name="com.sun.star.frame.Controller"/>
|
<service name="com.sun.star.frame.Controller"/>
|
||||||
</implementation>
|
</implementation>
|
||||||
|
@@ -1555,4 +1555,12 @@ void ChartController::impl_initializeAccessible( const uno::Reference< lang::XIn
|
|||||||
|
|
||||||
} //namespace chart
|
} //namespace chart
|
||||||
|
|
||||||
|
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
|
||||||
|
com_sun_star_comp_chart2_ChartController_get_implementation(css::uno::XComponentContext *context,
|
||||||
|
css::uno::Sequence<css::uno::Any> const &)
|
||||||
|
{
|
||||||
|
return cppu::acquire(new chart::ChartController(context));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -30,14 +30,6 @@
|
|||||||
static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
|
static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
::chart::ChartController::create
|
|
||||||
, ::chart::ChartController::getImplementationName_Static
|
|
||||||
, ::chart::ChartController::getSupportedServiceNames_Static
|
|
||||||
, ::cppu::createSingleComponentFactory
|
|
||||||
, 0
|
|
||||||
, 0
|
|
||||||
}
|
|
||||||
,{
|
|
||||||
::chart::ChartFrameLoader::create
|
::chart::ChartFrameLoader::create
|
||||||
, ::chart::ChartFrameLoader::getImplementationName_Static
|
, ::chart::ChartFrameLoader::getImplementationName_Static
|
||||||
, ::chart::ChartFrameLoader::getSupportedServiceNames_Static
|
, ::chart::ChartFrameLoader::getSupportedServiceNames_Static
|
||||||
|
Reference in New Issue
Block a user