summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/NetChartType.cxx
diff options
context:
space:
mode:
authorUrsache Vladimir <ursache@collabora.co.uk>2015-02-12 03:47:36 +0200
committerJan Holesovsky <kendy@collabora.com>2015-02-12 18:11:37 +0100
commit917bd2350cfb0e697595cdb7bd61fdfd00b9faa3 (patch)
tree2faa4db0b3602a40b693345662c060922869083d /chart2/source/model/template/NetChartType.cxx
parent6694a6a4069f7ca587bbf3f553d38163b01b3a5c (diff)
Use constructors for services from chartcore.component.
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
Diffstat (limited to 'chart2/source/model/template/NetChartType.cxx')
-rw-r--r--chart2/source/model/template/NetChartType.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/chart2/source/model/template/NetChartType.cxx b/chart2/source/model/template/NetChartType.cxx
index 0047d33478a9..fc745a6077a1 100644
--- a/chart2/source/model/template/NetChartType.cxx
+++ b/chart2/source/model/template/NetChartType.cxx
@@ -207,4 +207,11 @@ css::uno::Sequence< OUString > SAL_CALL NetChartType::getSupportedServiceNames()
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart_NetChartType_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::NetChartType(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */