diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 15:54:59 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 15:54:59 +0100 |
commit | f2554b7867ca50f513aee6190ef3e3552d0880ff (patch) | |
tree | 816b1cd4409b00af138241ab928961766de69b8f /linguistic | |
parent | bd5fa4c1c6b62557f3909b0bc11e5543b01cbb9d (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'linguistic')
-rw-r--r-- | linguistic/source/convdic.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/convdiclist.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/convdicxml.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/dicimp.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/dlistimp.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/hhconvdic.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/hyphdsp.cxx | 4 | ||||
-rw-r--r-- | linguistic/source/hyphdta.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/iprcache.cxx | 2 | ||||
-rw-r--r-- | linguistic/source/lngopt.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/lngprophelp.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/misc.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/spelldsp.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/spelldta.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/thesdsp.cxx | 3 | ||||
-rw-r--r-- | linguistic/source/thesdta.cxx | 2 | ||||
-rw-r--r-- | linguistic/workben/sprophelp.cxx | 2 | ||||
-rw-r--r-- | linguistic/workben/sspellimp.cxx | 2 |
18 files changed, 33 insertions, 18 deletions
diff --git a/linguistic/source/convdic.cxx b/linguistic/source/convdic.cxx index 5285dc41ad37..bcdf835364c0 100644 --- a/linguistic/source/convdic.cxx +++ b/linguistic/source/convdic.cxx @@ -73,13 +73,14 @@ using namespace std; using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + #define SN_CONV_DICTIONARY "com.sun.star.linguistic2.ConversionDictionary" #define SN_HCD_CONV_DICTIONARY "com.sun.star.linguistic2.HangulHanjaConversionDictionary" diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx index cf1364ddf3dc..5fb856f01aca 100644 --- a/linguistic/source/convdiclist.cxx +++ b/linguistic/source/convdiclist.cxx @@ -56,7 +56,6 @@ #include "defs.hxx" using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; @@ -64,6 +63,8 @@ using namespace com::sun::star::container; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + #define SN_CONV_DICTIONARY_LIST "com.sun.star.linguistic2.ConversionDictionaryList" diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx index dc16529d806e..b1ee8479f233 100644 --- a/linguistic/source/convdicxml.cxx +++ b/linguistic/source/convdicxml.cxx @@ -63,13 +63,14 @@ using namespace std; using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + #define XML_NAMESPACE_TCD_STRING "http://openoffice.org/2003/text-conversion-dictionary" #define CONV_TYPE_HANGUL_HANJA "Hangul / Hanja" #define CONV_TYPE_SCHINESE_TCHINESE "Chinese simplified / Chinese traditional" diff --git a/linguistic/source/dicimp.cxx b/linguistic/source/dicimp.cxx index 9a44092bd86d..0c2d3e4071cc 100644 --- a/linguistic/source/dicimp.cxx +++ b/linguistic/source/dicimp.cxx @@ -55,13 +55,14 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + /////////////////////////////////////////////////////////////////////////// #define BUFSIZE 4096 diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 2485153f3f98..a0c533516d0e 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -61,13 +61,14 @@ #include "lngopt.hxx" using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + /////////////////////////////////////////////////////////////////////////// static BOOL IsVers2OrNewer( const String& rFileURL, USHORT& nLng, BOOL& bNeg ); diff --git a/linguistic/source/hhconvdic.cxx b/linguistic/source/hhconvdic.cxx index 4954cae3a811..a3b770d74b67 100644 --- a/linguistic/source/hhconvdic.cxx +++ b/linguistic/source/hhconvdic.cxx @@ -52,13 +52,14 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + #define SN_HH_CONV_DICTIONARY "com.sun.star.linguistic2.HangulHanjaConversionDictionary" /////////////////////////////////////////////////////////////////////////// diff --git a/linguistic/source/hyphdsp.cxx b/linguistic/source/hyphdsp.cxx index ed647d3818bd..6015335fe4c8 100644 --- a/linguistic/source/hyphdsp.cxx +++ b/linguistic/source/hyphdsp.cxx @@ -50,7 +50,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -58,6 +57,9 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; +using ::rtl::OUStringBuffer; + /////////////////////////////////////////////////////////////////////////// HyphenatorDispatcher::HyphenatorDispatcher( LngSvcMgr &rLngSvcMgr ) : diff --git a/linguistic/source/hyphdta.cxx b/linguistic/source/hyphdta.cxx index 364ccad150f5..a6d9b5ee5dd6 100644 --- a/linguistic/source/hyphdta.cxx +++ b/linguistic/source/hyphdta.cxx @@ -41,12 +41,13 @@ #include <unotools/localedatawrapper.hxx> using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; +using ::rtl::OUString; + namespace linguistic { /////////////////////////////////////////////////////////////////////////// diff --git a/linguistic/source/iprcache.cxx b/linguistic/source/iprcache.cxx index 9ad7001fe676..c6bd020a10ad 100644 --- a/linguistic/source/iprcache.cxx +++ b/linguistic/source/iprcache.cxx @@ -42,13 +42,13 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; +using ::rtl::OUString; namespace linguistic { diff --git a/linguistic/source/lngopt.cxx b/linguistic/source/lngopt.cxx index 2056e4d1b4d6..f29a940f2153 100644 --- a/linguistic/source/lngopt.cxx +++ b/linguistic/source/lngopt.cxx @@ -50,7 +50,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::container; using namespace com::sun::star::beans; @@ -61,6 +60,8 @@ using namespace linguistic; using namespace com::sun::star::registry; +using ::rtl::OUString; + /////////////////////////////////////////////////////////////////////////// diff --git a/linguistic/source/lngprophelp.cxx b/linguistic/source/lngprophelp.cxx index b432bf1e5fa2..bdee5286bdf7 100644 --- a/linguistic/source/lngprophelp.cxx +++ b/linguistic/source/lngprophelp.cxx @@ -44,7 +44,6 @@ #include <lngprophelp.hxx> using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -52,6 +51,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + namespace linguistic { diff --git a/linguistic/source/misc.cxx b/linguistic/source/misc.cxx index 5a8084eb2f6a..d73d9a034ada 100644 --- a/linguistic/source/misc.cxx +++ b/linguistic/source/misc.cxx @@ -63,7 +63,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -71,6 +70,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::i18n; using namespace com::sun::star::linguistic2; +using ::rtl::OUString; + namespace linguistic { diff --git a/linguistic/source/spelldsp.cxx b/linguistic/source/spelldsp.cxx index 6decf22ad198..8e13434d0d2f 100644 --- a/linguistic/source/spelldsp.cxx +++ b/linguistic/source/spelldsp.cxx @@ -51,7 +51,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -59,6 +58,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + /////////////////////////////////////////////////////////////////////////// // ProposalList: list of proposals for misspelled words // The order of strings in the array should be left unchanged because the diff --git a/linguistic/source/spelldta.cxx b/linguistic/source/spelldta.cxx index b40c7ab8b14f..c89426b8d3d3 100644 --- a/linguistic/source/spelldta.cxx +++ b/linguistic/source/spelldta.cxx @@ -44,13 +44,14 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; +using ::rtl::OUString; + namespace linguistic { diff --git a/linguistic/source/thesdsp.cxx b/linguistic/source/thesdsp.cxx index 85b16efd4256..0ffc4cae15b2 100644 --- a/linguistic/source/thesdsp.cxx +++ b/linguistic/source/thesdsp.cxx @@ -43,7 +43,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -51,6 +50,8 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; + /////////////////////////////////////////////////////////////////////////// static BOOL SvcListHasLanguage( diff --git a/linguistic/source/thesdta.cxx b/linguistic/source/thesdta.cxx index 46880f41862b..a90afac17841 100644 --- a/linguistic/source/thesdta.cxx +++ b/linguistic/source/thesdta.cxx @@ -36,7 +36,6 @@ #include "thesdta.hxx" using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -44,6 +43,7 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; namespace linguistic { diff --git a/linguistic/workben/sprophelp.cxx b/linguistic/workben/sprophelp.cxx index 8d01ec4fa0bf..bd42ed27bbe2 100644 --- a/linguistic/workben/sprophelp.cxx +++ b/linguistic/workben/sprophelp.cxx @@ -43,7 +43,6 @@ #include <osl/mutex.hxx> using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -51,6 +50,7 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; #define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x )) diff --git a/linguistic/workben/sspellimp.cxx b/linguistic/workben/sspellimp.cxx index 244930d70c25..addeb6c0976d 100644 --- a/linguistic/workben/sspellimp.cxx +++ b/linguistic/workben/sspellimp.cxx @@ -45,7 +45,6 @@ using namespace utl; using namespace osl; -using namespace rtl; using namespace com::sun::star; using namespace com::sun::star::beans; using namespace com::sun::star::lang; @@ -53,6 +52,7 @@ using namespace com::sun::star::uno; using namespace com::sun::star::linguistic2; using namespace linguistic; +using ::rtl::OUString; /////////////////////////////////////////////////////////////////////////// |