summaryrefslogtreecommitdiff
path: root/include/toolkit/helper
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-08-03 09:55:21 +0200
committerNoel Grandin <noel@peralex.com>2015-08-03 11:12:31 +0200
commit0ea54aed15ee17a02c9dff861c16d06505f35741 (patch)
tree344e0be9c23b5c7941ad4012261bf5e38a135247 /include/toolkit/helper
parent69df701742a9c3946e2031488c377c18a5ec4de0 (diff)
remove some unused defines
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
Diffstat (limited to 'include/toolkit/helper')
-rw-r--r--include/toolkit/helper/macros.hxx16
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 \