diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-23 10:51:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-23 13:19:10 +0200 |
commit | 728f98303193bfc9319b4e82a4078d27d1844139 (patch) | |
tree | 2ec705388bd9ea6759f732655a306ff5f118ba26 /lingucomponent/source/languageguessing | |
parent | 364eaba8ef183d61a07f07efe58c2a6a485d6b0e (diff) |
com::sun::star->css in lingucomponent
Change-Id: Iceef10c51db88b3e85f118a366de45f0f70bbf21
Diffstat (limited to 'lingucomponent/source/languageguessing')
-rw-r--r-- | lingucomponent/source/languageguessing/guesslang.cxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index 113234124ee7..678277fbae62 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -96,12 +96,12 @@ public: static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ); // XLanguageGuessing implementation - virtual ::com::sun::star::lang::Locale SAL_CALL guessPrimaryLanguage( const OUString& aText, ::sal_Int32 nStartPos, ::sal_Int32 nLen ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL disableLanguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override; - virtual void SAL_CALL enableLanguages( const ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale >& aLanguages ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override; - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getAvailableLanguages( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getEnabledLanguages( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getDisabledLanguages( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; + virtual css::lang::Locale SAL_CALL guessPrimaryLanguage( const OUString& aText, ::sal_Int32 nStartPos, ::sal_Int32 nLen ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL disableLanguages( const css::uno::Sequence< css::lang::Locale >& aLanguages ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL enableLanguages( const css::uno::Sequence< css::lang::Locale >& aLanguages ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getAvailableLanguages( ) throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getEnabledLanguages( ) throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Sequence< css::lang::Locale > SAL_CALL getDisabledLanguages( ) throw (css::uno::RuntimeException, std::exception) override; // implementation specific void SetFingerPrintsDB( const OUString &fileName ) throw (RuntimeException); @@ -211,14 +211,14 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getAvailableLanguages( ) EnsureInitialized(); - Sequence< com::sun::star::lang::Locale > aRes; + Sequence< css::lang::Locale > aRes; vector<Guess> gs = m_aGuesser.GetAllManagedLanguages(); aRes.realloc(gs.size()); - com::sun::star::lang::Locale *pRes = aRes.getArray(); + css::lang::Locale *pRes = aRes.getArray(); for(size_t i = 0; i < gs.size() ; i++ ){ - com::sun::star::lang::Locale current_aRes; + css::lang::Locale current_aRes; current_aRes.Language = OUString::createFromAscii( gs[i].GetLanguage().c_str() ); current_aRes.Country = OUString::createFromAscii( gs[i].GetCountry().c_str() ); pRes[i] = current_aRes; @@ -234,14 +234,14 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getEnabledLanguages( ) EnsureInitialized(); - Sequence< com::sun::star::lang::Locale > aRes; + Sequence< css::lang::Locale > aRes; vector<Guess> gs = m_aGuesser.GetAvailableLanguages(); aRes.realloc(gs.size()); - com::sun::star::lang::Locale *pRes = aRes.getArray(); + css::lang::Locale *pRes = aRes.getArray(); for(size_t i = 0; i < gs.size() ; i++ ){ - com::sun::star::lang::Locale current_aRes; + css::lang::Locale current_aRes; current_aRes.Language = OUString::createFromAscii( gs[i].GetLanguage().c_str() ); current_aRes.Country = OUString::createFromAscii( gs[i].GetCountry().c_str() ); pRes[i] = current_aRes; @@ -257,14 +257,14 @@ uno::Sequence< Locale > SAL_CALL LangGuess_Impl::getDisabledLanguages( ) EnsureInitialized(); - Sequence< com::sun::star::lang::Locale > aRes; + Sequence< css::lang::Locale > aRes; vector<Guess> gs = m_aGuesser.GetUnavailableLanguages(); aRes.realloc(gs.size()); - com::sun::star::lang::Locale *pRes = aRes.getArray(); + css::lang::Locale *pRes = aRes.getArray(); for(size_t i = 0; i < gs.size() ; i++ ){ - com::sun::star::lang::Locale current_aRes; + css::lang::Locale current_aRes; current_aRes.Language = OUString::createFromAscii( gs[i].GetLanguage().c_str() ); current_aRes.Country = OUString::createFromAscii( gs[i].GetCountry().c_str() ); pRes[i] = current_aRes; |