diff options
author | Chris Sherlock <chris.sherlock@collabora.com> | 2015-02-23 11:51:18 +1100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-12 10:05:05 +0100 |
commit | b47901e5831e480caacab837b1c8a999ae515c02 (patch) | |
tree | 6e8f2b10db0d4f14caaf0ceab0435e8cefb35e31 /sw/source/uibase/uno/unomod.cxx | |
parent | f71acd40e351517c64ff19a47e8422dedfd49cf9 (diff) |
sw: further components converted to constructor method
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with fixes for:
* copy missing parts from SwXAutoTextContainer_createInstance to
SwXAutoTextContainer_get_implementation
* include (dummy) SwXMailMerge_get_implementation if
!HAVE_FEATURE_DBCONNECTIVITY
Change-Id: I36f5b5cad42bda55139bdf96d9a0621dc5ec2419
Diffstat (limited to 'sw/source/uibase/uno/unomod.cxx')
-rw-r--r-- | sw/source/uibase/uno/unomod.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unomod.cxx b/sw/source/uibase/uno/unomod.cxx index 653cc8cba628..4e9009d31f00 100644 --- a/sw/source/uibase/uno/unomod.cxx +++ b/sw/source/uibase/uno/unomod.cxx @@ -1002,4 +1002,11 @@ Sequence< OUString > SwXViewSettings::getSupportedServiceNames(void) throw( Runt return aRet; } +extern "C" SAL_DLLPUBLIC_EXPORT ::com::sun::star::uno::XInterface* SAL_CALL +SwXModule_get_implementation(::com::sun::star::uno::XComponentContext*, + ::com::sun::star::uno::Sequence<css::uno::Any> const &) +{ + return cppu::acquire(new SwXModule()); +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |