diff options
author | Ursache Vladimir <ursache@collabora.co.uk> | 2015-02-12 03:47:36 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2015-02-12 18:11:37 +0100 |
commit | 917bd2350cfb0e697595cdb7bd61fdfd00b9faa3 (patch) | |
tree | 2faa4db0b3602a40b693345662c060922869083d /chart2/source/model/main/Legend.cxx | |
parent | 6694a6a4069f7ca587bbf3f553d38163b01b3a5c (diff) |
Use constructors for services from chartcore.component.
Change-Id: I72227b45f305734060a669275044f6f9c8859bc5
Diffstat (limited to 'chart2/source/model/main/Legend.cxx')
-rw-r--r-- | chart2/source/model/main/Legend.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chart2/source/model/main/Legend.cxx b/chart2/source/model/main/Legend.cxx index 164612e91ad6..37c457a3693d 100644 --- a/chart2/source/model/main/Legend.cxx +++ b/chart2/source/model/main/Legend.cxx @@ -333,4 +333,11 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2( Legend, Legend_Base, ::property::OPropertySet } // namespace chart +extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL +com_sun_star_comp_chart2_Legend_get_implementation(css::uno::XComponentContext *context, + css::uno::Sequence<css::uno::Any> const &) +{ + return cppu::acquire(new ::chart::Legend(context)); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |