diff options
Diffstat (limited to 'i18npool/source/textconversion/textconversionImpl.cxx')
-rw-r--r-- | i18npool/source/textconversion/textconversionImpl.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx index b143ca9d9680..2fc29c9fa335 100644 --- a/i18npool/source/textconversion/textconversionImpl.cxx +++ b/i18npool/source/textconversion/textconversionImpl.cxx @@ -17,8 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <assert.h> +#include <cppuhelper/supportsservice.hxx> #include <textconversionImpl.hxx> #include <localedata.hxx> #include <i18nlangtag/languagetag.hxx> @@ -26,7 +26,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::uno; - namespace com { namespace sun { namespace star { namespace i18n { TextConversionResult SAL_CALL @@ -123,7 +122,7 @@ sal_Bool SAL_CALL TextConversionImpl::supportsService(const OUString& rServiceName) throw( RuntimeException ) { - return rServiceName.equalsAscii(cTextConversion); + return cppu::supportsService(this, rServiceName); } Sequence< OUString > SAL_CALL |