diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-17 19:20:37 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-04-18 07:25:24 +0000 |
commit | 150ac9cf05ed9da6a2af5bc3f820280fd853e519 (patch) | |
tree | 10a73ee6974c2ee67ee63a09e533081ce519685f /cppuhelper | |
parent | 0fa6c88007f61176ac707cb5d77fd35cf1521123 (diff) |
clean-up: unused using declarations and includes
Searched source for using declarations.
Checked if those symbols reappear in the source file,
even in comments or dead code but not in #include statements.
If they don't reappear, remove the declaration.
Remove includes whose symbol got removed.
Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0
Reviewed-on: https://gerrit.libreoffice.org/24148
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/source/component.cxx | 1 | ||||
-rw-r--r-- | cppuhelper/source/implbase.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/implbase_ex.cxx | 2 | ||||
-rw-r--r-- | cppuhelper/source/servicemanager.cxx | 1 |
4 files changed, 0 insertions, 6 deletions
diff --git a/cppuhelper/source/component.cxx b/cppuhelper/source/component.cxx index ccbf1791ed5f..192a2de9a2bc 100644 --- a/cppuhelper/source/component.cxx +++ b/cppuhelper/source/component.cxx @@ -29,7 +29,6 @@ using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; -using ::rtl::OUString; using ::rtl::OString; using ::rtl::OUStringToOString; diff --git a/cppuhelper/source/implbase.cxx b/cppuhelper/source/implbase.cxx index be0405c8cf5f..635ca10d3e6d 100644 --- a/cppuhelper/source/implbase.cxx +++ b/cppuhelper/source/implbase.cxx @@ -29,8 +29,6 @@ using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using rtl::OUString; -using rtl::OString; namespace cppu { diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx index 9a3b05348346..b2fc96d8d048 100644 --- a/cppuhelper/source/implbase_ex.cxx +++ b/cppuhelper/source/implbase_ex.cxx @@ -34,9 +34,7 @@ using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; -using rtl::OString; using rtl::OUString; -using rtl::OUStringBuffer; namespace { diff --git a/cppuhelper/source/servicemanager.cxx b/cppuhelper/source/servicemanager.cxx index cd4d817db7bb..c3dfba461f9a 100644 --- a/cppuhelper/source/servicemanager.cxx +++ b/cppuhelper/source/servicemanager.cxx @@ -47,7 +47,6 @@ using rtl::OUString; using rtl::OString; -using rtl::OStringBuffer; #include <registry/registry.hxx> #include <xmlreader/xmlreader.hxx> |