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/nativenumber/nativenumbersupplier.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/nativenumber/nativenumbersupplier.cxx')
-rw-r--r-- | i18npool/source/nativenumber/nativenumbersupplier.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx b/i18npool/source/nativenumber/nativenumbersupplier.cxx index aeb3e3caca97..be9ab74a81aa 100644 --- a/i18npool/source/nativenumber/nativenumbersupplier.cxx +++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx @@ -28,6 +28,7 @@ #include <memory> using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::i18n; using namespace ::com::sun::star::lang; typedef struct { @@ -55,7 +56,7 @@ typedef struct { #define NUMBER_OMIT_ONE_67 (NUMBER_OMIT_ONE_6|NUMBER_OMIT_ONE_7) #define NUMBER_OMIT_ZERO_ONE_67 ( NUMBER_OMIT_ZERO|NUMBER_OMIT_ONE_67 ) -namespace com { namespace sun { namespace star { namespace i18n { +namespace i18npool { OUString SAL_CALL getHebrewNativeNumberString(const OUString& aNumberString, bool useGeresh); @@ -1051,14 +1052,14 @@ NativeNumberSupplierService::getSupportedServiceNames() return aRet; } -} } } } +} extern "C" SAL_DLLPUBLIC_EXPORT css::uno::XInterface * SAL_CALL com_sun_star_i18n_NativeNumberSupplier_get_implementation( css::uno::XComponentContext *, css::uno::Sequence<css::uno::Any> const &) { - return cppu::acquire(new css::i18n::NativeNumberSupplierService()); + return cppu::acquire(new i18npool::NativeNumberSupplierService()); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |