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 /linguistic/workben | |
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 'linguistic/workben')
-rw-r--r-- | linguistic/workben/sprophelp.cxx | 3 | ||||
-rw-r--r-- | linguistic/workben/sspellimp.cxx | 5 | ||||
-rw-r--r-- | linguistic/workben/sspellimp.hxx | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx index 636866fd2deb..642a92b92f10 100644 --- a/linguistic/workben/sprophelp.cxx +++ b/linguistic/workben/sprophelp.cxx @@ -38,7 +38,6 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; -using ::rtl::OUString; @@ -54,7 +53,7 @@ PropertyChgHelper::PropertyChgHelper( OUString *pName = aPropNames.getArray(); for (sal_Int32 i = 0; i < nPropCount; ++i) { - pName[i] = ::rtl::OUString::createFromAscii( pPropNames[i] ); + pName[i] = OUString::createFromAscii( pPropNames[i] ); } } diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx index 067f9b60f71d..4bbf3f3d0a6f 100644 --- a/linguistic/workben/sspellimp.cxx +++ b/linguistic/workben/sspellimp.cxx @@ -40,7 +40,6 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; -using ::rtl::OUString; sal_Bool operator == ( const Locale &rL1, const Locale &rL2 ) @@ -220,7 +219,7 @@ Reference< XSpellAlternatives > { aTmp.SearchAndReplaceAllAscii( "liss", "liz" ); xRes = new SpellAlternatives( aTmp, nLang, - SpellFailure::IS_NEGATIVE_WORD, ::com::sun::star::uno::Sequence< ::rtl::OUString >() ); + SpellFailure::IS_NEGATIVE_WORD, ::com::sun::star::uno::Sequence< OUString >() ); } else if (STRING_NOTFOUND != aTmp.Search( (sal_Unicode) 'x' ) || STRING_NOTFOUND != aTmp.Search( (sal_Unicode) 'X' )) @@ -252,7 +251,7 @@ Reference< XSpellAlternatives > (sal_Unicode) 'S': (sal_Unicode) 's'; aTmp.GetBufferAccess()[0] = cNewChar; xRes = new SpellAlternatives( aTmp, nLang, - SpellFailure::CAPTION_ERROR, ::com::sun::star::uno::Sequence< ::rtl::OUString >() ); + SpellFailure::CAPTION_ERROR, ::com::sun::star::uno::Sequence< OUString >() ); } } } diff --git a/linguistic/workben/sspellimp.hxx b/linguistic/workben/sspellimp.hxx index b31c88c74385..488b5e0ad7ee 100644 --- a/linguistic/workben/sspellimp.hxx +++ b/linguistic/workben/sspellimp.hxx @@ -152,7 +152,7 @@ public: inline OUString SpellChecker::getImplementationName_Static() throw() { - return ::rtl::OUString( "com.sun.star.lingu.examples.SpellChecker" ); + return OUString( "com.sun.star.lingu.examples.SpellChecker" ); } |