diff options
Diffstat (limited to 'i18npool/source/textconversion/textconversionImpl.cxx')
-rw-r--r-- | i18npool/source/textconversion/textconversionImpl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx index 9bc191ac71b5..3a7a1ebd1e63 100644 --- a/i18npool/source/textconversion/textconversionImpl.cxx +++ b/i18npool/source/textconversion/textconversionImpl.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -77,8 +77,8 @@ TextConversionImpl::getConversionWithOffset( const OUString& aText, sal_Int32 nS return xTC->getConversionWithOffset(aText, nStartPos, nLength, rLocale, nConversionType, nConversionOptions, offset); } -sal_Bool SAL_CALL -TextConversionImpl::interactiveConversion( const Locale& rLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions ) +sal_Bool SAL_CALL +TextConversionImpl::interactiveConversion( const Locale& rLocale, sal_Int16 nTextConversionType, sal_Int32 nTextConversionOptions ) throw( RuntimeException, IllegalArgumentException, NoSupportException ) { getLocaleSpecificTextConversion(rLocale); @@ -97,7 +97,7 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) throw aLocale = rLocale; Reference < XInterface > xI; - + xI = xMSF->createInstance( OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language); @@ -110,7 +110,7 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale) throw OUString::createFromAscii("com.sun.star.i18n.TextConversion_") + aLocale.Language + OUString::createFromAscii("_") + aLocale.Country + OUString::createFromAscii("_") + aLocale.Variant); - + if (xI.is()) xI->queryInterface( getCppuType((const Reference< XTextConversion>*)0) ) >>= xTC; else if (xTC.is()) |