diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-30 10:38:29 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-31 13:25:48 +0100 |
commit | 2929847516a597bc20e696fdd1a260d750560584 (patch) | |
tree | bb68b2fbb3c2fcb55379c2b7d4cd2f67c3c54032 /svx/source/inc/unogalthemeprovider.hxx | |
parent | 32b64a0ff6fc54290ce5848c34e38ebb7eb5bd95 (diff) |
svx: Use constructor feature for GalleryThemeProvider.
Change-Id: Ifb92256b1516098d292a3ad960cb5982121998da
Diffstat (limited to 'svx/source/inc/unogalthemeprovider.hxx')
-rw-r--r-- | svx/source/inc/unogalthemeprovider.hxx | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/svx/source/inc/unogalthemeprovider.hxx b/svx/source/inc/unogalthemeprovider.hxx index 8d1cd680c08f..84980ab408c7 100644 --- a/svx/source/inc/unogalthemeprovider.hxx +++ b/svx/source/inc/unogalthemeprovider.hxx @@ -25,23 +25,9 @@ #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/gallery/XGalleryThemeProvider.hpp> -#include <svx/svxdllapi.h> - class Gallery; -namespace unogallery { - -// ------------------------- -// - some helper functions - -// ------------------------- - -::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL GalleryThemeProvider_createInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr) throw( ::com::sun::star::uno::Exception ); - ::com::sun::star::uno::Sequence< OUString > SAL_CALL GalleryThemeProvider_getSupportedServiceNames() throw(); -OUString SAL_CALL GalleryThemeProvider_getImplementationName() throw(); - -// ----------------- -// - GalleryThemes - -// ----------------- +namespace { class GalleryThemeProvider : public ::cppu::WeakImplHelper2< ::com::sun::star::lang::XInitialization, ::com::sun::star::gallery::XGalleryThemeProvider > @@ -51,9 +37,6 @@ public: GalleryThemeProvider(); ~GalleryThemeProvider(); - SVX_DLLPUBLIC static OUString getImplementationName_Static() throw(); - SVX_DLLPUBLIC static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); - protected: // XServiceInfo |