summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/PolarCoordinateSystem.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/main/PolarCoordinateSystem.cxx
parent6694a6a4069f7ca587bbf3f553d38163b01b3a5c (diff)
Use constructors for services from chartcore.component.
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
Diffstat (limited to 'chart2/source/model/main/PolarCoordinateSystem.cxx')
-rw-r--r--chart2/source/model/main/PolarCoordinateSystem.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/chart2/source/model/main/PolarCoordinateSystem.cxx b/chart2/source/model/main/PolarCoordinateSystem.cxx
index ca75de53a49b..fe6e8c9cc95c 100644
--- a/chart2/source/model/main/PolarCoordinateSystem.cxx
+++ b/chart2/source/model/main/PolarCoordinateSystem.cxx
@@ -200,4 +200,18 @@ css::uno::Sequence< OUString > SAL_CALL PolarCoordinateSystem3d::getSupportedSer
} // namespace chart
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart2_PolarCoordinateSystem2d_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::PolarCoordinateSystem2d(context));
+}
+
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_comp_chart2_PolarCoordinateSystem3d_get_implementation(css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new ::chart::PolarCoordinateSystem3d(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */