diff options
Diffstat (limited to 'forms/source/inc/forms_module_impl.hxx')
-rw-r--r-- | forms/source/inc/forms_module_impl.hxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/forms/source/inc/forms_module_impl.hxx b/forms/source/inc/forms_module_impl.hxx index b49f2bb22126..bfcd4f10039f 100644 --- a/forms/source/inc/forms_module_impl.hxx +++ b/forms/source/inc/forms_module_impl.hxx @@ -27,10 +27,10 @@ #include <comphelper/sequence.hxx> -//......................................................................... + namespace FORMS_MODULE_NAMESPACE { -//......................................................................... + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; @@ -38,20 +38,20 @@ namespace FORMS_MODULE_NAMESPACE using namespace ::comphelper; using namespace ::cppu; - //========================================================================= + //= OFormsModule - //========================================================================= - //-------------------------------------------------------------------------- + + //- registration helper - //-------------------------------------------------------------------------- + Sequence< OUString >* OFormsModule::s_pImplementationNames = NULL; Sequence< Sequence< OUString > >* OFormsModule::s_pSupportedServices = NULL; Sequence< sal_Int64 >* OFormsModule::s_pCreationFunctionPointers = NULL; Sequence< sal_Int64 >* OFormsModule::s_pFactoryFunctionPointers = NULL; - //-------------------------------------------------------------------------- + void OFormsModule::registerComponent( const OUString& _rImplementationName, const Sequence< OUString >& _rServiceNames, @@ -87,7 +87,7 @@ namespace FORMS_MODULE_NAMESPACE s_pFactoryFunctionPointers->getArray()[nOldLen] = reinterpret_cast<sal_Int64>(_pFactoryFunction); } - //-------------------------------------------------------------------------- + void OFormsModule::revokeComponent(const OUString& _rImplementationName) { if (!s_pImplementationNames) @@ -125,7 +125,7 @@ namespace FORMS_MODULE_NAMESPACE } } - //-------------------------------------------------------------------------- + Reference< XInterface > OFormsModule::getComponentFactory( const OUString& _rImplementationName, const Reference< XMultiServiceFactory >& _rxServiceManager) @@ -174,8 +174,8 @@ namespace FORMS_MODULE_NAMESPACE return NULL; } -//......................................................................... + } // namespace FORMS_MODULE_NAMESPACE -//......................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |