Kaydet (Commit) 61ed1cb9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Missing constructor

...the implementation in ChartView.cxx oddly got removed from
<https://gerrit.libreoffice.org/#/c/14431/1> to
<https://gerrit.libreoffice.org/#/c/14431/2>, but the declaration in
chartcore.component was missing from the start

Change-Id: I71699ee74278f7e419eca63c5784b46efc42d96b
üst 71dca358
...@@ -256,7 +256,8 @@ ...@@ -256,7 +256,8 @@
<service name="com.sun.star.document.ExportFilter"/> <service name="com.sun.star.document.ExportFilter"/>
<service name="com.sun.star.document.ImportFilter"/> <service name="com.sun.star.document.ImportFilter"/>
</implementation> </implementation>
<implementation name="com.sun.star.comp.chart2.ChartView"> <implementation name="com.sun.star.comp.chart2.ChartView"
constructor="com_sun_star_comp_chart2_ChartView_get_implementation">
<service name="com.sun.star.chart2.ChartView"/> <service name="com.sun.star.chart2.ChartView"/>
</implementation> </implementation>
</component> </component>
...@@ -3435,4 +3435,12 @@ void ChartView::updateOpenGLWindow() ...@@ -3435,4 +3435,12 @@ void ChartView::updateOpenGLWindow()
} //namespace chart } //namespace chart
extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
com_sun_star_comp_chart2_ChartView_get_implementation(css::uno::XComponentContext *context,
css::uno::Sequence<css::uno::Any> const &)
{
::chart::ChartModel *pChartModel = new ::chart::ChartModel(context);
return cppu::acquire(new ::chart::ChartView(context, *pChartModel));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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