diff options
Diffstat (limited to 'i18npool/source/textconversion/textconversion.cxx')
-rw-r--r-- | i18npool/source/textconversion/textconversion.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/source/textconversion/textconversion.cxx b/i18npool/source/textconversion/textconversion.cxx index 4c650b4eefc9..fbde6f16efee 100644 --- a/i18npool/source/textconversion/textconversion.cxx +++ b/i18npool/source/textconversion/textconversion.cxx @@ -17,13 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <assert.h> +#include <cppuhelper/supportsservice.hxx> #include <textconversion.hxx> using namespace com::sun::star::uno; - namespace com { namespace sun { namespace star { namespace i18n { #ifndef DISABLE_DYNLOADING @@ -79,7 +78,7 @@ TextConversion::getImplementationName() throw( RuntimeException ) sal_Bool SAL_CALL TextConversion::supportsService(const OUString& rServiceName) throw( RuntimeException ) { - return rServiceName.equalsAscii(implementationName); + return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL |