summaryrefslogtreecommitdiffstats
path: root/svx/source/inc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2013-12-17 21:59:50 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2013-12-20 16:26:35 +0100
commit4a969ac35174520f1ffeb4f919f5d7bb6d99a628 (patch)
tree887738c0aeae027c1067e7c1092d5c7ef401d654 /svx/source/inc
parent-Werror=unused-variable (diff)
downloadcore-4a969ac35174520f1ffeb4f919f5d7bb6d99a628.tar.gz
core-4a969ac35174520f1ffeb4f919f5d7bb6d99a628.zip
svx: split into direct implementation getFactories
Change-Id: I888f10a923dc2b97247b2a66cc6bd116eee280a7
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/recoveryui.hxx12
-rw-r--r--svx/source/inc/unogalthemeprovider.hxx15
2 files changed, 3 insertions, 24 deletions
diff --git a/svx/source/inc/recoveryui.hxx b/svx/source/inc/recoveryui.hxx
index 38febbbbf433..46c867db2f96 100644
--- a/svx/source/inc/recoveryui.hxx
+++ b/svx/source/inc/recoveryui.hxx
@@ -28,8 +28,7 @@
#include "docrecovery.hxx"
-namespace svx
-{
+namespace {
namespace svxdr = ::svx::DocRecovery;
@@ -109,13 +108,6 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo
const css::util::URL& aURL )
throw(css::uno::RuntimeException);
- //---------------------------------------
- // XServiceInfo helper
-
- static OUString st_getImplementationName();
- static css::uno::Sequence< OUString > st_getSupportedServiceNames();
- static css::uno::Reference< css::uno::XInterface > SAL_CALL st_createInstance(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR);
-
//-------------------------------------------
// helper
private:
@@ -132,7 +124,7 @@ class RecoveryUI : public ::cppu::WeakImplHelper2< css::lang::XServiceInfo
};
-} // namespace svx
+}
#endif // INCLUDED_SVX_SOURCE_INC_RECOVERYUI_HXX
diff --git a/svx/source/inc/unogalthemeprovider.hxx b/svx/source/inc/unogalthemeprovider.hxx
index 8d1cd680c08f..74e77dc6e461 100644
--- a/svx/source/inc/unogalthemeprovider.hxx
+++ b/svx/source/inc/unogalthemeprovider.hxx
@@ -25,19 +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();
+namespace {
// -----------------
// - GalleryThemes -
@@ -51,9 +41,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