diff options
Diffstat (limited to 'cppuhelper/source/factory.cxx')
-rw-r--r-- | cppuhelper/source/factory.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cppuhelper/source/factory.cxx b/cppuhelper/source/factory.cxx index d61639566110..8a951033cc08 100644 --- a/cppuhelper/source/factory.cxx +++ b/cppuhelper/source/factory.cxx @@ -54,6 +54,8 @@ using namespace com::sun::star::registry; namespace cppu { +namespace { + class OSingleFactoryHelper : public XServiceInfo , public XSingleServiceFactory @@ -113,6 +115,9 @@ protected: Sequence< OUString > aServiceNames; OUString aImplementationName; }; + +} + OSingleFactoryHelper::~OSingleFactoryHelper() { } @@ -222,6 +227,8 @@ Sequence< OUString > OSingleFactoryHelper::getSupportedServiceNames() return aServiceNames; } +namespace { + struct OFactoryComponentHelper_Mutex { Mutex aMutex; @@ -285,6 +292,7 @@ protected: bool isInstance() const {return xTheInstance.is();} }; +} Any SAL_CALL OFactoryComponentHelper::queryInterface( const Type & rType ) { @@ -426,6 +434,8 @@ sal_Bool SAL_CALL OFactoryComponentHelper::releaseOnNotification() return true; } +namespace { + class ORegistryFactoryHelper : public OFactoryComponentHelper, public OPropertySetHelper @@ -495,6 +505,8 @@ protected: using OPropertySetHelper::getTypes; }; +} + // XInterface Any SAL_CALL ORegistryFactoryHelper::queryInterface( @@ -800,6 +812,8 @@ sal_Bool SAL_CALL ORegistryFactoryHelper::releaseOnNotification() return retVal; } +namespace { + class OFactoryProxyHelper : public WeakImplHelper< XServiceInfo, XSingleServiceFactory, XUnloadingPreference > { @@ -824,6 +838,8 @@ public: }; +} + // XSingleServiceFactory Reference<XInterface > OFactoryProxyHelper::createInstance() { |