summaryrefslogtreecommitdiff
path: root/i18npool/source/nativenumber/nativenumbersupplier.cxx
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2013-12-17 01:14:30 -0200
committerStephan Bergmann <sbergman@redhat.com>2013-12-18 10:17:14 +0100
commit6cd3118b6370a0314e58692e08b68c4dcb0f922a (patch)
treedae1a4f84e21716bd450593719e168d8a3bb2cac /i18npool/source/nativenumber/nativenumbersupplier.cxx
parent910ec33b72fa7675e606c4389d50d3a0d4adbe45 (diff)
fdo#54938: Convert i18npool to use cppu::supportsService
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'i18npool/source/nativenumber/nativenumbersupplier.cxx')
-rw-r--r--i18npool/source/nativenumber/nativenumbersupplier.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 38e7905031af..9b826be1ccbc 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -24,12 +24,12 @@
#include <localedata.hxx>
#include <data/numberchar.h>
#include <comphelper/string.hxx>
+#include <cppuhelper/supportsservice.hxx>
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::lang;
using namespace ::rtl;
-
typedef struct {
sal_Int16 number;
const sal_Unicode *multiplierChar;
@@ -898,7 +898,7 @@ OUString SAL_CALL NativeNumberSupplier::getImplementationName() throw( RuntimeEx
sal_Bool SAL_CALL
NativeNumberSupplier::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
- return rServiceName.equalsAscii(implementationName);
+ return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL