From 38ecca9b30e0fc5f7cc6264857f983e40dd58195 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 24 Jul 2015 16:22:29 +0200 Subject: inline a bunch of use-once macros no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc --- include/sfx2/sfxuno.hxx | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'include/sfx2/sfxuno.hxx') diff --git a/include/sfx2/sfxuno.hxx b/include/sfx2/sfxuno.hxx index 2e773ed50ce6..7a0a213d57f1 100644 --- a/include/sfx2/sfxuno.hxx +++ b/include/sfx2/sfxuno.hxx @@ -65,32 +65,6 @@ bool GetEncryptionData_Impl( const SfxItemSet* pSet, css::uno::Sequence< css::be typedef sal_Int32 FrameSearchFlags; -// macros for declaration and definition of uno-services - -// declaration of XInterface::queryInterface() -// XInterface::acquire() -// XInterface::release() -// XTypeProvider::getTypes() -// XTypeProvider::getImplementationId() -// XServiceInfo::getImplementationName() -// XServiceInfo::supportsService() -// XServiceInfo::getSupportedServiceNames() -// static xxx::impl_getStaticSupportedServiceNames() -// static xxx::impl_getStaticImplementationName() -// static xxx::impl_createInstance() -#define SFX_DECL_XSERVICEINFO_NOFACTORY \ - /* XServiceInfo */ \ - virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; \ - virtual sal_Bool SAL_CALL supportsService( const OUString& sServiceName ) throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; \ - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; \ - \ - /* Helper for XServiceInfo */ \ - static css::uno::Sequence< OUString > impl_getStaticSupportedServiceNames(); \ - static OUString impl_getStaticImplementationName(); \ - \ - /* Helper for registry */ \ - static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::Exception ); - #endif // INCLUDED_SFX2_SFXUNO_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ -- cgit