diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-02-14 23:25:40 +0100 |
---|---|---|
committer | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-02-15 18:39:38 +0000 |
commit | 259ae22056b34f3477fc7ac0f31666dec41bf8ea (patch) | |
tree | e1f2818b39104941e5ab26eee1eb7af1fb93227a /lingucomponent | |
parent | c95597ac428f6515df232a07e82af75f4e0e242a (diff) |
Drop 'using namespace ::std' in dirs [e-p]*
Change-Id: Ibe6a2f662f5721c594d28a8e0d7340d0f3cffe95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147075
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guesslang.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index d6d5803a51a7..76576337914a 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -46,7 +46,6 @@ #include <textcat.h> #endif -using namespace ::std; using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star; @@ -194,7 +193,7 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getAvailableLanguages( ) EnsureInitialized(); Sequence< css::lang::Locale > aRes; - vector<Guess> gs = m_aGuesser.GetAllManagedLanguages(); + std::vector<Guess> gs = m_aGuesser.GetAllManagedLanguages(); aRes.realloc(gs.size()); css::lang::Locale *pRes = aRes.getArray(); @@ -216,7 +215,7 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getEnabledLanguages( ) EnsureInitialized(); Sequence< css::lang::Locale > aRes; - vector<Guess> gs = m_aGuesser.GetAvailableLanguages(); + std::vector<Guess> gs = m_aGuesser.GetAvailableLanguages(); aRes.realloc(gs.size()); css::lang::Locale *pRes = aRes.getArray(); @@ -238,7 +237,7 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getDisabledLanguages( ) EnsureInitialized(); Sequence< css::lang::Locale > aRes; - vector<Guess> gs = m_aGuesser.GetUnavailableLanguages(); + std::vector<Guess> gs = m_aGuesser.GetUnavailableLanguages(); aRes.realloc(gs.size()); css::lang::Locale *pRes = aRes.getArray(); @@ -262,7 +261,7 @@ void SAL_CALL LangGuess_Impl::disableLanguages( for (const Locale& rLanguage : rLanguages) { - string language; + std::string language; OString l = OUStringToOString( rLanguage.Language, RTL_TEXTENCODING_ASCII_US ); OString c = OUStringToOString( rLanguage.Country, RTL_TEXTENCODING_ASCII_US ); @@ -283,7 +282,7 @@ void SAL_CALL LangGuess_Impl::enableLanguages( for (const Locale& rLanguage : rLanguages) { - string language; + std::string language; OString l = OUStringToOString( rLanguage.Language, RTL_TEXTENCODING_ASCII_US ); OString c = OUStringToOString( rLanguage.Country, RTL_TEXTENCODING_ASCII_US ); |