diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-01-21 00:07:16 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-01-24 11:59:16 +0100 |
commit | 3381e35ec2b567f0b85cce6192df11d0be9cdbe2 (patch) | |
tree | eb82533b7d258877b0fee8fe202d9bb1ece16ad4 /desktop/source/pkgchk | |
parent | 1d10db1003f092f48ed09a0d45994f7481b96d84 (diff) |
tdf#42949 Fix IWYU warnings in desktop/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: If72377cb352be71050a5b0a471bbe3b02d9c0f74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87117
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_app.cxx | 8 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx | 9 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 5 | ||||
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_shared.h | 6 |
4 files changed, 6 insertions, 22 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx index eba9c283f9d5..6ee96a9b7995 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx @@ -18,19 +18,14 @@ */ -#include <desktop/dllapi.h> #include <dp_misc.h> #include "unopkg_main.h" #include "unopkg_shared.h" #include <dp_identifier.hxx> #include <tools/extendapplicationenvironment.hxx> -#include <rtl/ustrbuf.hxx> -#include <rtl/uri.hxx> #include <rtl/bootstrap.hxx> -#include <osl/thread.h> #include <osl/process.h> #include <osl/conditn.hxx> -#include <osl/file.hxx> #include <cppuhelper/implbase.hxx> #include <cppuhelper/exc_hlp.hxx> #include <comphelper/anytostring.hxx> @@ -48,10 +43,7 @@ #include <com/sun/star/logging/XLogger.hpp> #include <com/sun/star/ucb/CommandAbortedException.hpp> #include <com/sun/star/ucb/CommandFailedException.hpp> -#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/ui/dialogs/XDialogClosedListener.hpp> -#include <com/sun/star/bridge/BridgeFactory.hpp> -#include <stdio.h> #if defined(UNX) #include <unistd.h> #endif diff --git a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx index 26b14bbc6360..060d2918fb50 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_cmdenv.cxx @@ -19,13 +19,12 @@ #include <strings.hrc> +#include <dp_misc.h> #include <dp_shared.hxx> #include "unopkg_shared.h" -#include <osl/thread.h> -#include <sal/log.hxx> -#include <unotools/resmgr.hxx> +#include <i18nlangtag/languagetag.hxx> +#include <rtl/ustrbuf.hxx> #include <cppuhelper/implbase.hxx> -#include <cppuhelper/exc_hlp.hxx> #include <comphelper/anytostring.hxx> #include <tools/diagnose_ex.h> #include <unotools/configmgr.hxx> @@ -34,14 +33,12 @@ #include <com/sun/star/task/XInteractionApprove.hpp> #include <com/sun/star/deployment/DeploymentException.hpp> #include <com/sun/star/deployment/InstallException.hpp> -#include <com/sun/star/container/ElementExistException.hpp> #include <com/sun/star/deployment/LicenseException.hpp> #include <com/sun/star/deployment/VersionException.hpp> #include <com/sun/star/deployment/PlatformException.hpp> #include <com/sun/star/i18n/Collator.hpp> #include <com/sun/star/i18n/CollatorOptions.hpp> -#include <stdio.h> #include <dp_version.hxx> using namespace ::com::sun::star; diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index a76ea7dc5fc0..50b6c58d9190 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -19,17 +19,13 @@ #include <config_folders.h> -#include <stdio.h> - #include <vcl/svapp.hxx> #include <vcl/weld.hxx> #include <rtl/bootstrap.hxx> -#include <rtl/strbuf.hxx> #include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <osl/process.h> #include <osl/file.hxx> -#include <osl/thread.hxx> #include <unotools/configmgr.hxx> #include <unotools/bootstrap.hxx> #include <cppuhelper/bootstrap.hxx> @@ -42,6 +38,7 @@ #include <strings.hrc> #include "unopkg_shared.h" #include <dp_identifier.hxx> +#include <dp_misc.h> #include <dp_shared.hxx> #include <lockfile.hxx> diff --git a/desktop/source/pkgchk/unopkg/unopkg_shared.h b/desktop/source/pkgchk/unopkg/unopkg_shared.h index 6d23b4c8f39e..04062a107e80 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_shared.h +++ b/desktop/source/pkgchk/unopkg/unopkg_shared.h @@ -17,16 +17,14 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <dp_misc.h> #include <com/sun/star/uno/Exception.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/ucb/XCommandEnvironment.hpp> #include <com/sun/star/deployment/XPackage.hpp> #include <osl/diagnose.h> -#include <unotools/resmgr.hxx> #include <rtl/ustring.hxx> -#include <unotools/configmgr.hxx> -#include <i18nlangtag/languagetag.hxx> + +#include <vector> #define APP_NAME "unopkg" |