diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 17:55:19 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-04-14 17:55:32 +0200 |
commit | 1531b523bf6a3379739d2ec12c96ca7b94f60a65 (patch) | |
tree | 24c80ea6ddcc3a40a050fb2db81522bf312310ef /sd/source/ui/unoidl/facreg.cxx | |
parent | efadf1f90b1038661f54c6c18d5a8d17415d47a7 (diff) |
Clean up function declarations and some unused functions
Change-Id: I7a2b5970fd0ab2059b5f5b0100a049e04ba54ee3
Diffstat (limited to 'sd/source/ui/unoidl/facreg.cxx')
-rw-r--r-- | sd/source/ui/unoidl/facreg.cxx | 159 |
1 files changed, 1 insertions, 158 deletions
diff --git a/sd/source/ui/unoidl/facreg.cxx b/sd/source/ui/unoidl/facreg.cxx index 9d8253e06aa5..e979cf3ae61c 100644 --- a/sd/source/ui/unoidl/facreg.cxx +++ b/sd/source/ui/unoidl/facreg.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/registry/XRegistryKey.hpp> +#include "facreg.hxx" #include "sddll.hxx" #include <cppuhelper/factory.hxx> @@ -33,164 +34,6 @@ using namespace com::sun::star; - -// Forward declarations of the factories. - -extern uno::Reference< uno::XInterface > SAL_CALL SdDrawingDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags ); -extern OUString SdDrawingDocument_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SAL_CALL SdDrawingDocument_getSupportedServiceNames() throw( uno::RuntimeException ); - -extern uno::Reference< uno::XInterface > SAL_CALL SdPresentationDocument_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory, const sal_uInt64 _nCreationFlags ); -extern OUString SdPresentationDocument_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SAL_CALL SdPresentationDocument_getSupportedServiceNames() throw( uno::RuntimeException ); - -extern uno::Reference< uno::XInterface > SAL_CALL SdHtmlOptionsDialog_CreateInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory ); -extern OUString SdHtmlOptionsDialog_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SAL_CALL SdHtmlOptionsDialog_getSupportedServiceNames() throw( uno::RuntimeException ); - -extern uno::Reference< uno::XInterface > SAL_CALL SdUnoModule_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory ); -extern OUString SdUnoModule_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SAL_CALL SdUnoModule_getSupportedServiceNames() throw( uno::RuntimeException ); - -namespace sd -{ -extern uno::Reference< uno::XInterface > SAL_CALL RandomNode_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory ); -extern OUString RandomNode__getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SAL_CALL RandomNode_getSupportedServiceNames() throw( uno::RuntimeException ); - -extern uno::Reference< uno::XInterface > SAL_CALL SlideLayoutController_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory ); -extern OUString SlideLayoutController_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > SlideLayoutController_getSupportedServiceNames() throw( uno::RuntimeException ); - -extern uno::Reference< uno::XInterface > SAL_CALL InsertSlideController_createInstance( const uno::Reference< lang::XMultiServiceFactory > & _rxFactory ); -extern OUString InsertSlideController_getImplementationName() throw( uno::RuntimeException ); -extern uno::Sequence< OUString > InsertSlideController_getSupportedServiceNames() throw( uno::RuntimeException ); -} - -namespace sd { namespace framework { - -extern uno::Reference<uno::XInterface> SAL_CALL Configuration_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString Configuration_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL Configuration_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL ConfigurationController_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString ConfigurationController_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL ConfigurationController_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL ModuleController_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString ModuleController_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL ModuleController_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL BasicPaneFactory_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString BasicPaneFactory_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL BasicPaneFactory_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL BasicToolBarFactory_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString BasicToolBarFactory_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL BasicToolBarFactory_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL BasicViewFactory_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString BasicViewFactory_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL BasicViewFactory_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL ResourceId_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString ResourceId_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL ResourceId_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL PresentationFactoryProvider_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PresentationFactoryProvider_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PresentationFactoryProvider_getSupportedServiceNames (void) - throw (uno::RuntimeException); -} } - -namespace sd { namespace sidebar { - -extern uno::Reference<uno::XInterface> SAL_CALL PanelFactory_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PanelFactory_getImplementationName(void) throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PanelFactory_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -} } - -namespace sd { namespace presenter { -extern uno::Reference<uno::XInterface> SAL_CALL SlideRenderer_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString SlideRenderer_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL SlideRenderer_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL PresenterCanvas_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PresenterCanvas_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PresenterCanvas_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL PresenterTextViewService_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PresenterTextViewService_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PresenterTextViewService_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL PresenterHelperService_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PresenterHelperService_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PresenterHelperService_getSupportedServiceNames (void) - throw (uno::RuntimeException); - -extern uno::Reference<uno::XInterface> SAL_CALL PresenterPreviewCache_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString PresenterPreviewCache_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL PresenterPreviewCache_getSupportedServiceNames (void) - throw (uno::RuntimeException); -} } - - -namespace sd { namespace slidesorter { -extern uno::Reference<uno::XInterface> SAL_CALL SlideSorterService_createInstance( - const uno::Reference<uno::XComponentContext>& rxContext) - throw(uno::Exception); -extern OUString SlideSorterService_getImplementationName(void) - throw (uno::RuntimeException); -extern uno::Sequence<OUString> SAL_CALL SlideSorterService_getSupportedServiceNames (void) - throw (uno::RuntimeException); -} } - using namespace ::sd; using namespace ::sd::framework; using namespace ::sd::presenter; |