diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-10-20 12:00:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-10-26 15:08:18 +0200 |
commit | 33623f3117d88683fbc9e66792e5030c0322946e (patch) | |
tree | b817ac4b192e355de61ebff3e22187ca414cf8f2 /unotools | |
parent | 31a8d9c711dfdbdb4b11067125d763b1d570033b (diff) |
tdf#42949 Fix IWYU warnings in include/unotools/*
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I444c43b9d549977039f25bec2b5bf666c3e15e0e
Reviewed-on: https://gerrit.libreoffice.org/62041
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/cmdoptions.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/compatibility.cxx | 3 | ||||
-rw-r--r-- | unotools/source/config/confignode.cxx | 3 | ||||
-rw-r--r-- | unotools/source/config/dynamicmenuoptions.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/eventcfg.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/fontcfg.cxx | 2 | ||||
-rw-r--r-- | unotools/source/config/historyoptions.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/itemholder1.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/lingucfg.cxx | 3 | ||||
-rw-r--r-- | unotools/source/config/syslocaleoptions.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/useroptions.cxx | 1 | ||||
-rw-r--r-- | unotools/source/config/viewoptions.cxx | 2 | ||||
-rw-r--r-- | unotools/source/i18n/intlwrapper.cxx | 2 | ||||
-rw-r--r-- | unotools/source/misc/ZipPackageHelper.cxx | 3 | ||||
-rw-r--r-- | unotools/source/misc/eventlisteneradapter.cxx | 1 | ||||
-rw-r--r-- | unotools/source/misc/fontcvt.cxx | 1 | ||||
-rw-r--r-- | unotools/source/misc/syslocale.cxx | 2 |
17 files changed, 29 insertions, 0 deletions
diff --git a/unotools/source/config/cmdoptions.cxx b/unotools/source/config/cmdoptions.cxx index e7cebb526beb..41e68c4eac37 100644 --- a/unotools/source/config/cmdoptions.cxx +++ b/unotools/source/config/cmdoptions.cxx @@ -26,6 +26,7 @@ #include <tools/debug.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/frame/XFrame.hpp> #include <cppuhelper/weakref.hxx> #include <rtl/ustrbuf.hxx> #include <rtl/instance.hxx> diff --git a/unotools/source/config/compatibility.cxx b/unotools/source/config/compatibility.cxx index ce4ed63b8430..469a944b9e8f 100644 --- a/unotools/source/config/compatibility.cxx +++ b/unotools/source/config/compatibility.cxx @@ -25,6 +25,9 @@ #include <sal/log.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/beans/PropertyValue.hpp> +#include <com/sun/star/lang/Locale.hpp> +#include <i18nlangtag/languagetag.hxx> #include "itemholder1.hxx" diff --git a/unotools/source/config/confignode.cxx b/unotools/source/config/confignode.cxx index 66d44cdc8301..db0861b4bc2f 100644 --- a/unotools/source/config/confignode.cxx +++ b/unotools/source/config/confignode.cxx @@ -27,9 +27,12 @@ #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <com/sun/star/lang/XComponent.hpp> +#include <com/sun/star/util/XChangesBatch.hpp> #include <com/sun/star/util/XStringEscape.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/container/XNamed.hpp> +#include <com/sun/star/container/XNameContainer.hpp> +#include <com/sun/star/container/XHierarchicalNameAccess.hpp> #include <comphelper/namedvaluecollection.hxx> #include <rtl/string.hxx> #if OSL_DEBUG_LEVEL > 0 diff --git a/unotools/source/config/dynamicmenuoptions.cxx b/unotools/source/config/dynamicmenuoptions.cxx index 71a5e8713686..1d2d751314b4 100644 --- a/unotools/source/config/dynamicmenuoptions.cxx +++ b/unotools/source/config/dynamicmenuoptions.cxx @@ -27,6 +27,7 @@ #include <tools/debug.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/beans/PropertyValue.hpp> #include <vector> diff --git a/unotools/source/config/eventcfg.cxx b/unotools/source/config/eventcfg.cxx index 4f48ade2c34b..959d96e1e49b 100644 --- a/unotools/source/config/eventcfg.cxx +++ b/unotools/source/config/eventcfg.cxx @@ -34,6 +34,7 @@ #include "itemholder1.hxx" #include <algorithm> +#include <unordered_map> using namespace ::std; using namespace ::utl; diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx index 89f9ab5094cb..9f796ff88fc4 100644 --- a/unotools/source/config/fontcfg.cxx +++ b/unotools/source/config/fontcfg.cxx @@ -18,6 +18,7 @@ */ #include <i18nlangtag/mslangid.hxx> +#include <i18nlangtag/languagetag.hxx> #include <o3tl/any.hxx> #include <unotools/configmgr.hxx> #include <unotools/fontcfg.hxx> @@ -27,6 +28,7 @@ #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> +#include <com/sun/star/container/XNameAccess.hpp> #include <comphelper/propertysequence.hxx> #include <unotools/configpaths.hxx> #include <unotools/syslocale.hxx> diff --git a/unotools/source/config/historyoptions.cxx b/unotools/source/config/historyoptions.cxx index 1f528bd428cb..6227fb2ac095 100644 --- a/unotools/source/config/historyoptions.cxx +++ b/unotools/source/config/historyoptions.cxx @@ -30,6 +30,7 @@ #include "itemholder1.hxx" +#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNameContainer.hpp> diff --git a/unotools/source/config/itemholder1.cxx b/unotools/source/config/itemholder1.cxx index 784f2ba7b760..c0444dc9f1ec 100644 --- a/unotools/source/config/itemholder1.cxx +++ b/unotools/source/config/itemholder1.cxx @@ -45,6 +45,7 @@ #include <unotools/options.hxx> #include <unotools/syslocaleoptions.hxx> #include <sal/log.hxx> +#include <osl/diagnose.h> ItemHolder1::ItemHolder1() : ItemHolderMutexBase() diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx index 17749604a675..e32e2f05a47d 100644 --- a/unotools/source/config/lingucfg.cxx +++ b/unotools/source/config/lingucfg.cxx @@ -22,10 +22,12 @@ #include <com/sun/star/lang/Locale.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XSingleServiceFactory.hpp> +#include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/configuration/theDefaultProvider.hpp> #include <com/sun/star/container/XNameAccess.hpp> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XNameReplace.hpp> +#include <com/sun/star/util/XChangesBatch.hpp> #include <rtl/instance.hxx> #include <sal/log.hxx> #include <osl/mutex.hxx> @@ -33,6 +35,7 @@ #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> #include <tools/debug.hxx> +#include <unotools/configitem.hxx> #include <unotools/lingucfg.hxx> #include <unotools/linguprops.hxx> #include <sal/macros.h> diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx index 5f9b744c3d27..1876855d1008 100644 --- a/unotools/source/config/syslocaleoptions.cxx +++ b/unotools/source/config/syslocaleoptions.cxx @@ -24,6 +24,7 @@ #include <i18nlangtag/mslangid.hxx> #include <i18nlangtag/languagetag.hxx> #include <tools/debug.hxx> +#include <tools/link.hxx> #include <unotools/syslocaleoptions.hxx> #include <unotools/configmgr.hxx> #include <unotools/configitem.hxx> diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx index 62ede8962c24..c0aa160b4264 100644 --- a/unotools/source/config/useroptions.cxx +++ b/unotools/source/config/useroptions.cxx @@ -41,6 +41,7 @@ #include <comphelper/configurationhelper.hxx> #include <comphelper/processfactory.hxx> #include <i18nlangtag/mslangid.hxx> +#include <i18nlangtag/languagetag.hxx> #include <o3tl/enumarray.hxx> #include <tools/diagnose_ex.h> diff --git a/unotools/source/config/viewoptions.cxx b/unotools/source/config/viewoptions.cxx index 752f29e4fee6..3eb5584a6dcd 100644 --- a/unotools/source/config/viewoptions.cxx +++ b/unotools/source/config/viewoptions.cxx @@ -20,6 +20,7 @@ #include <unotools/viewoptions.hxx> #include <com/sun/star/uno/Any.hxx> +#include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XNameAccess.hpp> @@ -28,6 +29,7 @@ #include <osl/diagnose.h> #include <sal/log.hxx> #include <unotools/configpaths.hxx> +#include <unotools/configmgr.hxx> #include <comphelper/configurationhelper.hxx> #include <comphelper/processfactory.hxx> diff --git a/unotools/source/i18n/intlwrapper.cxx b/unotools/source/i18n/intlwrapper.cxx index fb5ee4c9d0ce..bded270a5d81 100644 --- a/unotools/source/i18n/intlwrapper.cxx +++ b/unotools/source/i18n/intlwrapper.cxx @@ -18,6 +18,8 @@ */ #include <unotools/intlwrapper.hxx> +#include <unotools/collatorwrapper.hxx> +#include <unotools/localedatawrapper.hxx> #include <com/sun/star/i18n/CollatorOptions.hpp> #include <i18nlangtag/mslangid.hxx> #include <comphelper/processfactory.hxx> diff --git a/unotools/source/misc/ZipPackageHelper.cxx b/unotools/source/misc/ZipPackageHelper.cxx index 21388015a01b..f0d6a2156705 100644 --- a/unotools/source/misc/ZipPackageHelper.cxx +++ b/unotools/source/misc/ZipPackageHelper.cxx @@ -28,6 +28,9 @@ #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/util/XChangesBatch.hpp> #include <com/sun/star/lang/XUnoTunnel.hpp> +#include <com/sun/star/uno/XComponentContext.hpp> +#include <com/sun/star/container/XHierarchicalNameAccess.hpp> +#include <com/sun/star/lang/XSingleServiceFactory.hpp> #include <unotools/ZipPackageHelper.hxx> #include <comphelper/storagehelper.hxx> diff --git a/unotools/source/misc/eventlisteneradapter.cxx b/unotools/source/misc/eventlisteneradapter.cxx index 1a952a121532..ac3dbe9c615e 100644 --- a/unotools/source/misc/eventlisteneradapter.cxx +++ b/unotools/source/misc/eventlisteneradapter.cxx @@ -21,6 +21,7 @@ #include <vector> +#include <com/sun/star/lang/XComponent.hpp> #include <unotools/eventlisteneradapter.hxx> #include <osl/diagnose.h> #include <cppuhelper/implbase.hxx> diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx index ea49af1d0f29..8a47fdb27495 100644 --- a/unotools/source/misc/fontcvt.cxx +++ b/unotools/source/misc/fontcvt.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> +#include <rtl/ustrbuf.hxx> #include <sal/log.hxx> #include <unotools/fontcvt.hxx> #include <unotools/fontdefs.hxx> diff --git a/unotools/source/misc/syslocale.cxx b/unotools/source/misc/syslocale.cxx index 98a17f063f8c..c9a11e7d817d 100644 --- a/unotools/source/misc/syslocale.cxx +++ b/unotools/source/misc/syslocale.cxx @@ -20,6 +20,8 @@ #include <sal/config.h> #include <sal/log.hxx> +#include <unotools/localedatawrapper.hxx> +#include <unotools/charclass.hxx> #include <unotools/configmgr.hxx> #include <unotools/syslocale.hxx> #include <unotools/syslocaleoptions.hxx> |