From 150ac9cf05ed9da6a2af5bc3f820280fd853e519 Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Sun, 17 Apr 2016 19:20:37 +0200 Subject: 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 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- cppuhelper/source/component.cxx | 1 - cppuhelper/source/implbase.cxx | 2 -- cppuhelper/source/implbase_ex.cxx | 2 -- cppuhelper/source/servicemanager.cxx | 1 - 4 files changed, 6 deletions(-) (limited to 'cppuhelper/source') 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 #include -- cgit