summaryrefslogtreecommitdiffstats
path: root/i18npool/source/textconversion
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r--i18npool/source/textconversion/textconversionImpl.cxx4
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx4
2 files changed, 2 insertions, 6 deletions
diff --git a/i18npool/source/textconversion/textconversionImpl.cxx b/i18npool/source/textconversion/textconversionImpl.cxx
index fa9af75ff839..ecd1ee699b9f 100644
--- a/i18npool/source/textconversion/textconversionImpl.cxx
+++ b/i18npool/source/textconversion/textconversionImpl.cxx
@@ -80,9 +80,7 @@ TextConversionImpl::getLocaleSpecificTextConversion(const Locale& rLocale)
aLocale = rLocale;
OUString aPrefix("com.sun.star.i18n.TextConversion_");
- Reference < XInterface > xI;
-
- xI = m_xContext->getServiceManager()->createInstanceWithContext(
+ Reference < XInterface > xI = m_xContext->getServiceManager()->createInstanceWithContext(
aPrefix + LocaleDataImpl::getFirstLocaleServiceName( aLocale), m_xContext);
if (!xI.is())
{
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index 4e6ef770f613..6552135d1b91 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -44,9 +44,7 @@ namespace i18npool {
TextConversion_ko::TextConversion_ko( const Reference < XComponentContext >& xContext )
: TextConversionService("com.sun.star.i18n.TextConversion_ko")
{
- Reference < XInterface > xI;
-
- xI = xContext->getServiceManager()->createInstanceWithContext(
+ Reference < XInterface > xI = xContext->getServiceManager()->createInstanceWithContext(
"com.sun.star.i18n.ConversionDictionary_ko", xContext);
if ( xI.is() )