summaryrefslogtreecommitdiff
path: root/i18npool
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-30 08:40:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-30 08:59:59 +0000
commit3bc5df7f32501075149e4b41f6e98ea8dd2cfcbd (patch)
tree6e7f5d288cf65935b3ed1f0b88200d32d2f016f0 /i18npool
parent2e528df76b168a221c6d251d9b076bce5ba051a3 (diff)
UNO: no need to use OUString constructor when calling createInstance
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'i18npool')
-rw-r--r--i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx2
-rw-r--r--i18npool/source/textconversion/textconversion_ko.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
index a48f6e4655c9..78008ee842fe 100644
--- a/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
+++ b/i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
@@ -983,7 +983,7 @@ DefaultNumberingProvider::isScriptFlagEnabled(const OUString& aName) throw(Runti
aArgs[0] <<= aPath;
Reference<XInterface> xInterface = xConfigProvider->createInstanceWithArguments(
- OUString("com.sun.star.configuration.ConfigurationAccess"), aArgs);
+ "com.sun.star.configuration.ConfigurationAccess", aArgs);
xHierarchicalNameAccess.set(xInterface, UNO_QUERY);
diff --git a/i18npool/source/textconversion/textconversion_ko.cxx b/i18npool/source/textconversion/textconversion_ko.cxx
index d3fac1edeaf2..07be1222fb28 100644
--- a/i18npool/source/textconversion/textconversion_ko.cxx
+++ b/i18npool/source/textconversion/textconversion_ko.cxx
@@ -46,7 +46,7 @@ TextConversion_ko::TextConversion_ko( const Reference < XComponentContext >& xCo
Reference < XInterface > xI;
xI = xContext->getServiceManager()->createInstanceWithContext(
- OUString("com.sun.star.i18n.ConversionDictionary_ko"), xContext);
+ "com.sun.star.i18n.ConversionDictionary_ko", xContext);
if ( xI.is() )
xCD.set( xI, UNO_QUERY );