diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-03 14:16:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-04 08:39:11 +0200 |
commit | 6ce77cac03123f2bf5c9b6698a3f80e32d7fbe85 (patch) | |
tree | abdd40004f9a98c3be7f37e8e0027639456cd688 /i18npool/source/breakiterator/breakiteratorImpl.cxx | |
parent | f2db08b28e99c61c44bc057d03de926ac33d93b7 (diff) |
move stuff in i18npool/i18nutil in own namespace
instead of trying to share the css::i18n namespace, which is just very
confusing and should be left to actual UNO artifacts
Change-Id: I2f5c36bf1af9a2a98c4f997dd450d015e75ed3f6
Reviewed-on: https://gerrit.libreoffice.org/43079
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'i18npool/source/breakiterator/breakiteratorImpl.cxx')
-rw-r--r-- | i18npool/source/breakiterator/breakiteratorImpl.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index fba56fcec7ae..24ca264e708b 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -24,10 +24,12 @@ #include <i18nutil/unicode.hxx> #include <rtl/ustrbuf.hxx> +using namespace ::com::sun::star; using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::i18n; using namespace ::com::sun::star::lang; -namespace com { namespace sun { namespace star { namespace i18n { +namespace i18npool { BreakIteratorImpl::BreakIteratorImpl( const Reference < XComponentContext >& rxContext ) : m_xContext( rxContext ) { @@ -630,14 +632,14 @@ BreakIteratorImpl::getSupportedServiceNames() return aRet; } -} } } } +} extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_i18n_BreakIterator_get_implementation( css::uno::XComponentContext *context, css::uno::Sequence<css::uno::Any> const &) { - return cppu::acquire(new css::i18n::BreakIteratorImpl(context)); + return cppu::acquire(new i18npool::BreakIteratorImpl(context)); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |