summaryrefslogtreecommitdiff
path: root/i18npool/source/characterclassification/characterclassificationImpl.cxx
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-01-27 07:55:24 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-01-27 08:42:53 +0100
commitc492e5156b20c98ee662b9b5f6ad874c51b95bf9 (patch)
tree43a1978a14c5c0c27eb266b97a5f926a3da28c07 /i18npool/source/characterclassification/characterclassificationImpl.cxx
parentb192f590e68252881c3a545cbb81056851695010 (diff)
i18npool: Ctor feature for css.i18n.CharacterClassification(_Unicode).
Change-Id: I5a0498a3871e2b90629af8ed6b725ff22f242fba
Diffstat (limited to 'i18npool/source/characterclassification/characterclassificationImpl.cxx')
-rw-r--r--i18npool/source/characterclassification/characterclassificationImpl.cxx14
1 files changed, 10 insertions, 4 deletions
diff --git a/i18npool/source/characterclassification/characterclassificationImpl.cxx b/i18npool/source/characterclassification/characterclassificationImpl.cxx
index 4897541c7653..068fb0c6fce8 100644
--- a/i18npool/source/characterclassification/characterclassificationImpl.cxx
+++ b/i18npool/source/characterclassification/characterclassificationImpl.cxx
@@ -191,13 +191,11 @@ CharacterClassificationImpl::getLocaleSpecificCharacterClassification(const Loca
throw RuntimeException();
}
-const sal_Char cClass[] = "com.sun.star.i18n.CharacterClassification";
-
OUString SAL_CALL
CharacterClassificationImpl::getImplementationName(void)
throw( RuntimeException )
{
- return OUString::createFromAscii(cClass);
+ return OUString("com.sun.star.i18n.CharacterClassification");
}
sal_Bool SAL_CALL
@@ -211,10 +209,18 @@ Sequence< OUString > SAL_CALL
CharacterClassificationImpl::getSupportedServiceNames(void) throw( RuntimeException )
{
Sequence< OUString > aRet(1);
- aRet[0] = OUString::createFromAscii(cClass);
+ aRet[0] = OUString("com.sun.star.i18n.CharacterClassification");
return aRet;
}
} } } }
+extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL
+com_sun_star_i18n_CharacterClassification_get_implementation(
+ css::uno::XComponentContext *context,
+ css::uno::Sequence<css::uno::Any> const &)
+{
+ return cppu::acquire(new css::i18n::CharacterClassificationImpl(context));
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */