diff options
author | Marcos Paulo de Souza <marcos.souza.org@gmail.com> | 2014-01-14 12:27:09 -0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2014-01-16 10:25:53 +0100 |
commit | a2218b0d8b39e5018342b9085a3ec98941631952 (patch) | |
tree | 5aa97c50be7479c6d301fdd5718424debbff5a38 /svx/source/unodraw/UnoNamespaceMap.cxx | |
parent | f32f8285966a0455a7c0db71e196e5ea92390329 (diff) |
fdo#54938: Convert svx and svl to cppu::supportsService...
...final season
Change-Id: Ie51ac231def4a8a6e2681b81de7580798c95eed2
Diffstat (limited to 'svx/source/unodraw/UnoNamespaceMap.cxx')
-rw-r--r-- | svx/source/unodraw/UnoNamespaceMap.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx index b6add6abf219..361596df2686 100644 --- a/svx/source/unodraw/UnoNamespaceMap.cxx +++ b/svx/source/unodraw/UnoNamespaceMap.cxx @@ -25,6 +25,7 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <cppuhelper/implbase2.hxx> +#include <cppuhelper/supportsservice.hxx> #include <osl/diagnose.h> #include <osl/mutex.hxx> #include <svl/itempool.hxx> @@ -281,10 +282,10 @@ OUString SAL_CALL NamespaceMap::getImplementationName( ) return NamespaceMap_getImplementationName(); } -sal_Bool SAL_CALL NamespaceMap::supportsService( const OUString& ) +sal_Bool SAL_CALL NamespaceMap::supportsService( const OUString& serviceName ) throw(RuntimeException) { - return sal_True; + return cppu::supportsService( this, serviceName ); } Sequence< OUString > SAL_CALL NamespaceMap::getSupportedServiceNames( ) |