diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /lingucomponent/source/languageguessing | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'lingucomponent/source/languageguessing')
-rw-r--r-- | lingucomponent/source/languageguessing/guesslang.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lingucomponent/source/languageguessing/guesslang.cxx b/lingucomponent/source/languageguessing/guesslang.cxx index c675b1c8bcf5..d8777c6464aa 100644 --- a/lingucomponent/source/languageguessing/guesslang.cxx +++ b/lingucomponent/source/languageguessing/guesslang.cxx @@ -103,7 +103,7 @@ public: static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ); // XLanguageGuessing implementation - virtual ::com::sun::star::lang::Locale SAL_CALL guessPrimaryLanguage( const ::rtl::OUString& aText, ::sal_Int32 nStartPos, ::sal_Int32 nLen ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); + 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); 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); 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); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getAvailableLanguages( ) throw (::com::sun::star::uno::RuntimeException); @@ -111,7 +111,7 @@ public: virtual ::com::sun::star::uno::Sequence< ::com::sun::star::lang::Locale > SAL_CALL getDisabledLanguages( ) throw (::com::sun::star::uno::RuntimeException); // implementation specific - void SetFingerPrintsDB( const rtl::OUString &fileName ) throw (RuntimeException); + void SetFingerPrintsDB( const OUString &fileName ) throw (RuntimeException); static const OUString & SAL_CALL getImplementationName_Static() throw(); @@ -136,13 +136,13 @@ void LangGuess_Impl::EnsureInitialized() m_bInitialized = true; // set default fingerprint path to where those get installed - rtl::OUString aPhysPath; - rtl::OUString aURL( SvtPathOptions().GetFingerprintPath() ); + OUString aPhysPath; + OUString aURL( SvtPathOptions().GetFingerprintPath() ); utl::LocalFileHelper::ConvertURLToPhysicalName( aURL, aPhysPath ); #ifdef WNT - aPhysPath = aPhysPath + rtl::OUString(static_cast<sal_Unicode>('\\')); + aPhysPath = aPhysPath + OUString(static_cast<sal_Unicode>('\\')); #else - aPhysPath = aPhysPath + rtl::OUString(static_cast<sal_Unicode>('/')); + aPhysPath = aPhysPath + OUString(static_cast<sal_Unicode>('/')); #endif SetFingerPrintsDB( aPhysPath ); @@ -184,7 +184,7 @@ void LangGuess_Impl::EnsureInitialized() //************************************************************************* Locale SAL_CALL LangGuess_Impl::guessPrimaryLanguage( - const ::rtl::OUString& rText, + const OUString& rText, ::sal_Int32 nStartPos, ::sal_Int32 nLen ) throw (lang::IllegalArgumentException, uno::RuntimeException) @@ -211,7 +211,7 @@ Locale SAL_CALL LangGuess_Impl::guessPrimaryLanguage( #define DEFAULT_CONF_FILE_NAME "fpdb.conf" void LangGuess_Impl::SetFingerPrintsDB( - const rtl::OUString &filePath ) + const OUString &filePath ) throw (RuntimeException) { //! text encoding for file name / path needs to be in the same encoding the OS uses |