tdf#42949 Fix new IWYU warnings in directories [ab]*

Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.

Change-Id: Ib0008b9bb095f27e5e436d6b507dc709ab7bf01a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105313
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Gabor Kelemen 2020-10-31 14:28:47 +01:00 committed by Miklos Vajna
parent a129f3b20b
commit 0505a00a9b
37 changed files with 28 additions and 38 deletions

View file

@ -4,3 +4,9 @@ excludelist:
accessibility/source/standard/vclxaccessiblecombobox.cxx:
# Needed for implicit dtor
- vcl/window.hxx
accessibility/source/extended/accessibletabbar.cxx:
# Needed for implicit dtor
- com/sun/star/awt/XWindowPeer.hpp
accessibility/source/standard/accessiblemenucomponent.cxx:
# Needed for implicit dtor
- com/sun/star/awt/XWindowPeer.hpp

View file

@ -21,7 +21,6 @@
#include <extended/AccessibleBrowseBoxTableCell.hxx>
#include <toolkit/helper/convert.hxx>
#include <vcl/accessibletableprovider.hxx>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>

View file

@ -29,7 +29,7 @@
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <strings.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/button.hxx>
#include <vcl/event.hxx>
#include <vcl/vclevent.hxx>

View file

@ -30,7 +30,7 @@
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <vcl/window.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/button.hxx>
#include <vcl/event.hxx>
#include <vcl/vclevent.hxx>
#include <strings.hxx>

View file

@ -59,7 +59,6 @@
#include <array>
#include <vector>
#include <algorithm>
#include <string.h>
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::beans { struct NamedValue; }

View file

@ -19,10 +19,8 @@
#include <avmedia/MediaControlBase.hxx>
#include <avmedia/mediaplayer.hxx>
#include <avmedia/mediaitem.hxx>
#include <svtools/miscopt.hxx>
#include <tools/time.hxx>
#include <unotools/localedatawrapper.hxx>
#include <bitmaps.hlst>
#include <strings.hrc>
#include <helpids.h>
#include <mediamisc.hxx>

View file

@ -22,13 +22,7 @@
#include <mediamisc.hxx>
#include <avmedia/mediawindow.hxx>
#include <helpids.h>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/weld.hxx>
#include <unotools/syslocale.hxx>
#include <sfx2/viewfrm.hxx>
#include <math.h>
#include <algorithm>
#include <avmedia/MediaControlBase.hxx>
namespace avmedia

View file

@ -5,3 +5,6 @@ excludelist:
# Needed for TypedWhichId defines is basslots.hxx
- sfx2/dinfdlg.hxx
- sfx2/minfitem.hxx
basctl/source/basicide/baside2b.cxx:
# Needed for implicit dtor
- com/sun/star/container/XHierarchicalNameAccess.hpp

View file

@ -24,7 +24,6 @@
#include <helpids.h>
#include <vcl/taskpanelist.hxx>
#include <vcl/svapp.hxx>
namespace basctl
{

View file

@ -26,14 +26,12 @@
#include <iderid.hxx>
#include <tools/urlobj.hxx>
#include <tools/diagnose_ex.h>
#include <tools/debug.hxx>
#include <svtools/imagemgr.hxx>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <com/sun/star/frame/ModuleManager.hpp>
#include <comphelper/processfactory.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/sfxsids.hrc>
#include <vcl/event.hxx>
#include <initializer_list>
#include <memory>

View file

@ -25,7 +25,6 @@
#include <bastypes.hxx>
#include <com/sun/star/script/XLibraryContainer.hpp>
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
#include <deque>
#include <string_view>
#include <osl/diagnose.h>
#include <tools/debug.hxx>

View file

@ -23,7 +23,6 @@
#include <vcl/accessiblefactory.hxx>
#include <com/sun/star/accessibility/XAccessibleContext.hpp>
#include <com/sun/star/awt/XWindowPeer.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <toolkit/awt/vclxwindow.hxx>
#include <vcl/texteng.hxx>

View file

@ -18,7 +18,6 @@
*/
#pragma once
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <sfx2/sfxbasemodel.hxx>

View file

@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <config_options.h>
#include <sal/config.h>
#include <algorithm>

View file

@ -18,7 +18,6 @@
*/
#include <basegfx/numeric/ftools.hxx>
#include <algorithm>
namespace basegfx
{

View file

@ -25,7 +25,6 @@
#include <basegfx/curve/b2dcubicbezier.hxx>
#include <basegfx/polygon/b2dpolygontools.hxx>
#include <basegfx/utils/systemdependentdata.hxx>
#include <algorithm>
#include <memory>
#include <vector>

View file

@ -22,7 +22,6 @@
#include <basegfx/polygon/b2dpolygon.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <basegfx/utils/systemdependentdata.hxx>
#include <algorithm>
class ImplB2DPolyPolygon
{

View file

@ -24,7 +24,7 @@
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/color/bcolor.hxx>
#include <basegfx/matrix/b2dhommatrix.hxx>
#include <rtl/math.hxx>
#include <cassert>
#include <vector>
#include <algorithm>

View file

@ -25,7 +25,7 @@
#include <basegfx/range/b3drange.hxx>
#include <basegfx/point/b2dpoint.hxx>
#include <basegfx/tuple/b3ituple.hxx>
#include <rtl/math.hxx>
#include <cassert>
#include <numeric>
namespace basegfx::utils

View file

@ -26,7 +26,6 @@
#include <basegfx/numeric/ftools.hxx>
#include <com/sun/star/drawing/DoubleSequence.hpp>
#include <com/sun/star/drawing/PolyPolygonShape3D.hpp>
#include <sal/log.hxx>
// predefines
#define nMinSegments sal_uInt32(1)

View file

@ -24,11 +24,11 @@
#include <basegfx/range/b2drangeclipper.hxx>
#include <basegfx/polygon/b2dpolypolygon.hxx>
#include <basegfx/range/b2drectangle.hxx>
#include <rtl/math.hxx>
#include <o3tl/vector_pool.hxx>
#include <algorithm>
#include <cassert>
#include <list>
#include <iterator>

View file

@ -1,6 +1,12 @@
---
assumeFilename: basic/source/classes/global.cxx
excludelist:
basic/source/runtime/dllmgr.hxx:
# Needed on WIN
- memory
basic/qa/cppunit/test_compiler_checks.cxx:
# Keep for system-cppunit; see also commit 456d61ec526e250fd1af894e109d5914ac9c9e6e
- unotest/bootstrapfixturebase.hxx
basic/source/runtime/methods.cxx:
# Needed on WIN
- o3tl/char16_t2wchar_t.hxx

View file

@ -24,7 +24,6 @@
#include <com/sun/star/script/ModuleInfo.hpp>
#include <com/sun/star/awt/XDialog.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <basic/basicdllapi.h>
// Basic-Module for excel object.

View file

@ -22,7 +22,6 @@
#include <basic/sbxobj.hxx>
#include <vcl/graph.hxx>
#include "sbxfac.hxx"
#include <basic/basicdllapi.h>
class SbStdFactory final : public SbxFactory
{

View file

@ -20,7 +20,6 @@
#pragma once
#include <rtl/ustring.hxx>
#include <basic/basicdllapi.h>
class SbxBase;
class SbxObject;

View file

@ -8,7 +8,6 @@
*/
#include "basictest.hxx"
#include <rtl/ustring.hxx>
#include <cppunit/TestAssert.h>
#include <cppunit/TestFixture.h>

View file

@ -18,6 +18,7 @@
*/
#include <sb.hxx>
#include <rtl/ustrbuf.hxx>
#include <tools/stream.hxx>
#include <tools/debug.hxx>
#include <vcl/errinf.hxx>

View file

@ -33,6 +33,7 @@
#include <cppuhelper/weakref.hxx>
#include <rtl/instance.hxx>
#include <rtl/math.hxx>
#include <rtl/ustrbuf.hxx>
#include <com/sun/star/script/ArrayWrapper.hpp>

View file

@ -18,10 +18,9 @@
*/
#include <math.h>
#include <cmath>
#include <o3tl/temporary.hxx>
#include <rtl/math.hxx>
#include <parser.hxx>
#include <expr.hxx>
#include <tools/long.hxx>

View file

@ -27,9 +27,9 @@
#include <rtl/ustring.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <osl/file.hxx>
#include <rtl/math.hxx>
#include <i18nlangtag/lang.h>
#include <cmath>
#include <vector>
#include <memory>
#include <com/sun/star/lang/XComponent.hpp>

View file

@ -19,7 +19,6 @@
#pragma once
#include <basic/basicdllapi.h>
#include <basic/sbstar.hxx>
#include <sbxfac.hxx>
#include <unotools/transliterationwrapper.hxx>

View file

@ -25,6 +25,7 @@
#include <cstddef>
#include <stdlib.h>
#include <rtl/math.hxx>
#include <vcl/svapp.hxx>
#include <vcl/mapmod.hxx>
#include <vcl/outdev.hxx>

View file

@ -20,7 +20,6 @@
#include <basic/sberrors.hxx>
#include <basic/sbstar.hxx>
#include <vcl/outdev.hxx>
#include <vcl/svapp.hxx>
#include <sbstdobj.hxx>
#define ATTR_IMP_TYPE 1

View file

@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <rtl/math.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <svl/zforlist.hxx>

View file

@ -44,7 +44,7 @@
#include <strings.hrc>
#include <rtl/character.hxx>
#include <sal/log.hxx>
#include <rtl/math.hxx>
#include <svl/zforlist.hxx>

View file

@ -28,6 +28,7 @@
#include "sbxconv.hxx"
#include <sbunoobj.hxx>
#include <rtl/character.hxx>
#include <rtl/ustrbuf.hxx>
#include <sal/log.hxx>
#include <com/sun/star/uno/XInterface.hpp>

View file

@ -30,8 +30,6 @@
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <cppuhelper/factory.hxx>
#include <cppuhelper/implementationentry.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/safeint.hxx>
#include <rtl/ref.hxx>