From 6ff2d84ade299cb3d14d4110e4cf1a4b8070c030 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 22 Apr 2015 09:42:28 +0200 Subject: Various #include fixups rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90 --- desktop/inc/app.hxx | 1 + desktop/source/app/app.cxx | 1 + desktop/source/app/appinit.cxx | 1 + desktop/source/app/check_ext_deps.cxx | 1 + desktop/source/app/dispatchwatcher.cxx | 2 ++ desktop/source/app/officeipcthread.cxx | 1 + desktop/source/app/sofficemain.cxx | 1 + desktop/source/deployment/manager/dp_informationprovider.cxx | 1 + desktop/source/deployment/manager/dp_manager.cxx | 1 + desktop/source/deployment/misc/dp_misc.cxx | 1 + desktop/source/deployment/registry/component/dp_component.cxx | 1 + desktop/source/deployment/registry/dp_backend.cxx | 1 + desktop/source/deployment/registry/package/dp_package.cxx | 1 + desktop/source/lib/init.cxx | 1 + desktop/source/migration/migration.cxx | 1 + desktop/source/migration/services/oo3extensionmigration.cxx | 1 + desktop/source/offacc/acceptor.cxx | 1 + desktop/source/splash/splash.cxx | 1 + 18 files changed, 19 insertions(+) (limited to 'desktop') diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index 4a98c6e8afac..d5d184d2e02d 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index d0e5324e0165..f0c5d8090458 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -75,6 +75,7 @@ #include #include +#include #include #include #include diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index c0f5a2b92bc5..d51057868269 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -43,6 +43,7 @@ #include #include #include +#include #include diff --git a/desktop/source/app/check_ext_deps.cxx b/desktop/source/app/check_ext_deps.cxx index 8145db1de0c1..ab40ec8f2259 100644 --- a/desktop/source/app/check_ext_deps.cxx +++ b/desktop/source/app/check_ext_deps.cxx @@ -25,6 +25,7 @@ #include #include +#include #include #include diff --git a/desktop/source/app/dispatchwatcher.cxx b/desktop/source/app/dispatchwatcher.cxx index b971335a5337..fddfb428e9a9 100644 --- a/desktop/source/app/dispatchwatcher.cxx +++ b/desktop/source/app/dispatchwatcher.cxx @@ -17,7 +17,9 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include +#include #include #include #include diff --git a/desktop/source/app/officeipcthread.cxx b/desktop/source/app/officeipcthread.cxx index 1a3cc9f77220..b3e5330af84c 100644 --- a/desktop/source/app/officeipcthread.cxx +++ b/desktop/source/app/officeipcthread.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/app/sofficemain.cxx b/desktop/source/app/sofficemain.cxx index dea30fd6a80a..25da9d8caafd 100644 --- a/desktop/source/app/sofficemain.cxx +++ b/desktop/source/app/sofficemain.cxx @@ -28,6 +28,7 @@ #include #include +#include #include #include diff --git a/desktop/source/deployment/manager/dp_informationprovider.cxx b/desktop/source/deployment/manager/dp_informationprovider.cxx index 7ff3e911f2ed..be263726fb03 100644 --- a/desktop/source/deployment/manager/dp_informationprovider.cxx +++ b/desktop/source/deployment/manager/dp_informationprovider.cxx @@ -35,6 +35,7 @@ #include #include +#include #include #include diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 8164dd0ed329..3ddc5f83f757 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/deployment/misc/dp_misc.cxx b/desktop/source/deployment/misc/dp_misc.cxx index c5b4eec6812c..bae18596fbbd 100644 --- a/desktop/source/deployment/misc/dp_misc.cxx +++ b/desktop/source/deployment/misc/dp_misc.cxx @@ -27,6 +27,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx index d859d043d790..670994bae1e8 100644 --- a/desktop/source/deployment/registry/component/dp_component.cxx +++ b/desktop/source/deployment/registry/component/dp_component.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/deployment/registry/dp_backend.cxx b/desktop/source/deployment/registry/dp_backend.cxx index 516aca98a175..3627a9dd8ddf 100644 --- a/desktop/source/deployment/registry/dp_backend.cxx +++ b/desktop/source/deployment/registry/dp_backend.cxx @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/desktop/source/deployment/registry/package/dp_package.cxx b/desktop/source/deployment/registry/package/dp_package.cxx index a3903d2f0094..b37b1fd96551 100644 --- a/desktop/source/deployment/registry/package/dp_package.cxx +++ b/desktop/source/deployment/registry/package/dp_package.cxx @@ -28,6 +28,7 @@ #include "dp_descriptioninfoset.hxx" #include "dp_identifier.hxx" #include +#include #include #include #include diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx index 0651480dfa79..a1162dfe21bc 100644 --- a/desktop/source/lib/init.cxx +++ b/desktop/source/lib/init.cxx @@ -20,6 +20,7 @@ #include #include +#include #include #include #include diff --git a/desktop/source/migration/migration.cxx b/desktop/source/migration/migration.cxx index 93ebeb1a697f..74f61742e230 100644 --- a/desktop/source/migration/migration.cxx +++ b/desktop/source/migration/migration.cxx @@ -28,6 +28,7 @@ #include "migration.hxx" #include "migration_impl.hxx" +#include #include #include #include diff --git a/desktop/source/migration/services/oo3extensionmigration.cxx b/desktop/source/migration/services/oo3extensionmigration.cxx index 3ace9469bc50..ef82a5bac06c 100644 --- a/desktop/source/migration/services/oo3extensionmigration.cxx +++ b/desktop/source/migration/services/oo3extensionmigration.cxx @@ -20,6 +20,7 @@ #include "oo3extensionmigration.hxx" #include +#include #include #include #include diff --git a/desktop/source/offacc/acceptor.cxx b/desktop/source/offacc/acceptor.cxx index f60eacc35f02..a7491b8ea185 100644 --- a/desktop/source/offacc/acceptor.cxx +++ b/desktop/source/offacc/acceptor.cxx @@ -26,6 +26,7 @@ #include #include #include +#include using namespace css::bridge; using namespace css::connection; diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx index f2303725b71c..2cfba719e758 100644 --- a/desktop/source/splash/splash.cxx +++ b/desktop/source/splash/splash.cxx @@ -20,6 +20,7 @@ #include "splash.hxx" #include +#include #include #include #include -- cgit