diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-03 09:55:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-03 11:12:31 +0200 |
commit | 0ea54aed15ee17a02c9dff861c16d06505f35741 (patch) | |
tree | 344e0be9c23b5c7941ad4012261bf5e38a135247 /include/toolkit | |
parent | 69df701742a9c3946e2031488c377c18a5ec4de0 (diff) |
remove some unused defines
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
Diffstat (limited to 'include/toolkit')
-rw-r--r-- | include/toolkit/helper/macros.hxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/toolkit/helper/macros.hxx b/include/toolkit/helper/macros.hxx index e84053e17681..f080d6d0bfbd 100644 --- a/include/toolkit/helper/macros.hxx +++ b/include/toolkit/helper/macros.hxx @@ -198,22 +198,6 @@ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD_BODY( ClassName, InterfaceName, MethodNa void ClassName::MethodName( const EventType& evt ) throw(::com::sun::star::uno::RuntimeException, std::exception) \ IMPL_LISTENERMULTIPLEXER_LISTENERMETHOD_BODY( ClassName, InterfaceName, MethodName, EventType ) - - -#define DECLIMPL_SUPPORTS_SERVICE( ) \ - sal_Bool SAL_CALL supportsService( const OUString& rServiceName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE \ - { \ - ::com::sun::star::uno::Sequence< OUString > aServiceNames( getSupportedServiceNames() ); \ - const OUString* pSupported = aServiceNames.getConstArray(); \ - const OUString* pSupportedEnd = pSupported + aServiceNames.getLength(); \ - for ( ; pSupported != pSupportedEnd; ++pSupported ) \ - if ( *pSupported == rServiceName ) \ - return sal_True; \ - return sal_False; \ - } - - - #define DECLIMPL_SERVICEINFO_DERIVED( ImplName, BaseClass, ServiceName ) \ OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { return OUString("stardiv.Toolkit." #ImplName ); } \ ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE \ |