summaryrefslogtreecommitdiff
path: root/i18npool/source/breakiterator/breakiteratorImpl.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/breakiterator/breakiteratorImpl.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/breakiterator/breakiteratorImpl.cxx')
-rw-r--r--i18npool/source/breakiterator/breakiteratorImpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx
index 0123583b0ad9..fb44d733d9ff 100644
--- a/i18npool/source/breakiterator/breakiteratorImpl.cxx
+++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx
@@ -17,8 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <breakiteratorImpl.hxx>
+#include <cppuhelper/supportsservice.hxx>
#include <unicode/uchar.h>
#include <i18nutil/unicode.hxx>
#include <rtl/ustrbuf.hxx>
@@ -616,7 +616,7 @@ BreakIteratorImpl::getImplementationName(void) throw( RuntimeException )
sal_Bool SAL_CALL
BreakIteratorImpl::supportsService(const OUString& rServiceName) throw( RuntimeException )
{
- return rServiceName.equalsAscii(cBreakIterator);
+ return cppu::supportsService(this, rServiceName);
}
Sequence< OUString > SAL_CALL