diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-29 12:03:33 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-29 11:28:54 +0000 |
commit | 0371a6336582aea9574d1f8e6ae152ef3f95ac62 (patch) | |
tree | 06cc3b234b45ee5a5cb72387068adae84226ce9b /i18npool | |
parent | b9f080e012d0e4f5343da940079c20d3f9c63513 (diff) |
remove unnecessary 'using namespace rtl' declarations
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'i18npool')
21 files changed, 1 insertions, 25 deletions
diff --git a/i18npool/source/breakiterator/breakiteratorImpl.cxx b/i18npool/source/breakiterator/breakiteratorImpl.cxx index 5593b9e306ff..3a19f5107204 100644 --- a/i18npool/source/breakiterator/breakiteratorImpl.cxx +++ b/i18npool/source/breakiterator/breakiteratorImpl.cxx @@ -25,7 +25,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/breakiterator/breakiterator_cjk.cxx b/i18npool/source/breakiterator/breakiterator_cjk.cxx index 939e2d2a0d63..31901b383463 100644 --- a/i18npool/source/breakiterator/breakiterator_cjk.cxx +++ b/i18npool/source/breakiterator/breakiterator_cjk.cxx @@ -23,7 +23,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/breakiterator/breakiterator_ctl.cxx b/i18npool/source/breakiterator/breakiterator_ctl.cxx index c2058904fc5c..2f8703c9d038 100644 --- a/i18npool/source/breakiterator/breakiterator_ctl.cxx +++ b/i18npool/source/breakiterator/breakiterator_ctl.cxx @@ -23,7 +23,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/breakiterator/breakiterator_th.cxx b/i18npool/source/breakiterator/breakiterator_th.cxx index cdd4c4a87c38..e350fdce1c4c 100644 --- a/i18npool/source/breakiterator/breakiterator_th.cxx +++ b/i18npool/source/breakiterator/breakiterator_th.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/breakiterator/gendict.cxx b/i18npool/source/breakiterator/gendict.cxx index 0b70a39f2596..71eb9ec31f7c 100644 --- a/i18npool/source/breakiterator/gendict.cxx +++ b/i18npool/source/breakiterator/gendict.cxx @@ -27,9 +27,9 @@ #include <rtl/ustring.hxx> #include <osl/diagnose.h> #include <vector> + using std::vector; -using namespace ::rtl; // For iOS, where we must strive for a minimal executable size, we // keep the data produced by this utility not as large const tables in diff --git a/i18npool/source/characterclassification/cclass_unicode_parser.cxx b/i18npool/source/characterclassification/cclass_unicode_parser.cxx index 395efd8ad1d7..299a0f5c5cff 100644 --- a/i18npool/source/characterclassification/cclass_unicode_parser.cxx +++ b/i18npool/source/characterclassification/cclass_unicode_parser.cxx @@ -34,7 +34,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/collator/chaptercollator.cxx b/i18npool/source/collator/chaptercollator.cxx index 2eb4e146c395..e290c39abbb5 100644 --- a/i18npool/source/collator/chaptercollator.cxx +++ b/i18npool/source/collator/chaptercollator.cxx @@ -29,7 +29,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::i18n; -using namespace ::rtl; ChapterCollator::ChapterCollator( const Reference < XComponentContext >& rxContext ) : CollatorImpl(rxContext) { diff --git a/i18npool/source/collator/collator_unicode.cxx b/i18npool/source/collator/collator_unicode.cxx index 675b00711f31..ac05363f7e28 100644 --- a/i18npool/source/collator/collator_unicode.cxx +++ b/i18npool/source/collator/collator_unicode.cxx @@ -32,7 +32,6 @@ using namespace ::com::sun::star; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::uno; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/collator/gencoll_rule.cxx b/i18npool/source/collator/gencoll_rule.cxx index 8c4abb3b0f15..827f8127c100 100644 --- a/i18npool/source/collator/gencoll_rule.cxx +++ b/i18npool/source/collator/gencoll_rule.cxx @@ -30,8 +30,6 @@ #include <unicode/tblcoll.h> -using namespace ::rtl; - /* Main Procedure */ void data_write(char* file, char* name, sal_uInt8 *data, sal_Int32 len) diff --git a/i18npool/source/indexentry/genindex_data.cxx b/i18npool/source/indexentry/genindex_data.cxx index f3fa9c6abd99..990b24b31399 100644 --- a/i18npool/source/indexentry/genindex_data.cxx +++ b/i18npool/source/indexentry/genindex_data.cxx @@ -29,8 +29,6 @@ #define MAX_ADDRESS 0x30000 #define MAX_INDEX MAX_ADDRESS/0x100 -using namespace ::rtl; - /* Main Procedure */ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) diff --git a/i18npool/source/indexentry/indexentrysupplier.cxx b/i18npool/source/indexentry/indexentrysupplier.cxx index b64899abcab8..5704aa83841d 100644 --- a/i18npool/source/indexentry/indexentrysupplier.cxx +++ b/i18npool/source/indexentry/indexentrysupplier.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/indexentry/indexentrysupplier_asian.cxx b/i18npool/source/indexentry/indexentrysupplier_asian.cxx index ba59c47d92bb..3c25ffae61aa 100644 --- a/i18npool/source/indexentry/indexentrysupplier_asian.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_asian.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/indexentry/indexentrysupplier_common.cxx b/i18npool/source/indexentry/indexentrysupplier_common.cxx index ce1e2fc7e814..5caf73d4532e 100644 --- a/i18npool/source/indexentry/indexentrysupplier_common.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_common.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/indexentry/indexentrysupplier_default.cxx b/i18npool/source/indexentry/indexentrysupplier_default.cxx index 13ce777861bf..685a756efefb 100644 --- a/i18npool/source/indexentry/indexentrysupplier_default.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_default.cxx @@ -24,7 +24,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx index 39ce0ee685a5..4e2b6ab3461f 100644 --- a/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx +++ b/i18npool/source/indexentry/indexentrysupplier_ja_phonetic.cxx @@ -23,8 +23,6 @@ #include <data/indexdata_ja_phonetic.h> #include <string.h> -using namespace ::rtl; - namespace com { namespace sun { namespace star { namespace i18n { OUString SAL_CALL IndexEntrySupplier_ja_phonetic::getIndexCharacter( const OUString& rIndexEntry, diff --git a/i18npool/source/localedata/LocaleNode.hxx b/i18npool/source/localedata/LocaleNode.hxx index 2767b56506a4..4f404044f9b2 100644 --- a/i18npool/source/localedata/LocaleNode.hxx +++ b/i18npool/source/localedata/LocaleNode.hxx @@ -31,7 +31,6 @@ #include <cppuhelper/implbase1.hxx> #include <cppuhelper/implbase3.hxx> -using namespace ::rtl; using namespace ::std; using namespace ::cppu; using namespace ::com::sun::star::uno; diff --git a/i18npool/source/localedata/saxparser.cxx b/i18npool/source/localedata/saxparser.cxx index 547191c5d309..a4a9cb1b2d09 100644 --- a/i18npool/source/localedata/saxparser.cxx +++ b/i18npool/source/localedata/saxparser.cxx @@ -44,7 +44,6 @@ #include "LocaleNode.hxx" -using namespace ::rtl; using namespace ::std; using namespace ::cppu; using namespace ::com::sun::star::uno; diff --git a/i18npool/source/textconversion/genconv_dict.cxx b/i18npool/source/textconversion/genconv_dict.cxx index fbd6b0eb74f2..2cde35accbbf 100644 --- a/i18npool/source/textconversion/genconv_dict.cxx +++ b/i18npool/source/textconversion/genconv_dict.cxx @@ -29,8 +29,6 @@ #include <vector> -using namespace ::rtl; - void make_hhc_char(FILE *sfp, FILE *cfp); void make_stc_char(FILE *sfp, FILE *cfp); void make_stc_word(FILE *sfp, FILE *cfp); diff --git a/i18npool/source/transliteration/transliteration_body.cxx b/i18npool/source/transliteration/transliteration_body.cxx index ec3f6fc9bfc4..0a78040c27f9 100644 --- a/i18npool/source/transliteration/transliteration_body.cxx +++ b/i18npool/source/transliteration/transliteration_body.cxx @@ -35,7 +35,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/transliteration/transliteration_caseignore.cxx b/i18npool/source/transliteration/transliteration_caseignore.cxx index 5eb1cc6a5a50..3b33e460b656 100644 --- a/i18npool/source/transliteration/transliteration_caseignore.cxx +++ b/i18npool/source/transliteration/transliteration_caseignore.cxx @@ -26,7 +26,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { diff --git a/i18npool/source/transliteration/transliteration_commonclass.cxx b/i18npool/source/transliteration/transliteration_commonclass.cxx index 0284e860f0ea..8981641fcadc 100644 --- a/i18npool/source/transliteration/transliteration_commonclass.cxx +++ b/i18npool/source/transliteration/transliteration_commonclass.cxx @@ -23,7 +23,6 @@ using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; -using namespace ::rtl; namespace com { namespace sun { namespace star { namespace i18n { |