Kaydet (Commit) 38ef4990 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Caolán McNamara

tdf#42949 Fix IWYU warnings in include/svx/[a-D]*

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

Change-Id: I9770343f31f882427c9ae13e363b59cd1fb47e98
Reviewed-on: https://gerrit.libreoffice.org/71295
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9d3912d4
......@@ -21,6 +21,7 @@
#include <svl/itemset.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <sfx2/tabdlg.hxx>
#include <sfx2/sfxdlg.hxx>
......
......@@ -22,6 +22,7 @@
#include <svl/intitem.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/flagsdef.hxx>
#include <editeng/flstitem.hxx>
......
......@@ -22,6 +22,7 @@
#include <svl/cjkoptions.hxx>
#include <svl/intitem.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/flagsdef.hxx>
using namespace ::com::sun::star;
......
......@@ -31,6 +31,8 @@
#include <vcl/builderfactory.hxx>
#include <tools/diagnose_ex.h>
#include <com/sun/star/beans/XPropertySet.hpp>
namespace chart
{
......
......@@ -12,6 +12,7 @@
#include <ObjectIdentifier.hxx>
#include <com/sun/star/chart2/XDiagram.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <svx/tbcontrl.hxx>
......
......@@ -35,6 +35,7 @@
#include <headertablistbox.hxx>
#include "macropg_impl.hxx"
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <strings.hrc>
#include <comphelper/namedvaluecollection.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include <memory>
#include <vcl/event.hxx>
#include <vcl/weld.hxx>
#include <vcl/wrkwin.hxx>
#include <vcl/menu.hxx>
......
......@@ -24,6 +24,7 @@
#include <tools/debug.hxx>
#include <svl/lngmisc.hxx>
#include <vcl/event.hxx>
#include <vcl/graphicfilter.hxx>
#include <vcl/svlbitm.hxx>
#include <vcl/treelistbox.hxx>
......
......@@ -26,6 +26,7 @@
#include <sfx2/request.hxx>
#include <sal/log.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <numfmt.hxx>
#include <splitcelldlg.hxx>
#include <dstribut.hxx>
......
......@@ -21,6 +21,7 @@
#include <bitset>
#include <osl/diagnose.h>
#include <tools/debug.hxx>
#include <editeng/editids.hrc>
#include <svtools/colorcfg.hxx>
......
......@@ -22,6 +22,7 @@
#include <config_gpgme.h>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <strings.hrc>
#include <treeopt.hrc>
......
......@@ -21,6 +21,7 @@
#include <editeng/svxenum.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <bitmaps.hlst>
......
......@@ -29,6 +29,7 @@
#include <sfx2/objsh.hxx>
#include <sfx2/docfile.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/strings.hrc>
#include <strings.hrc>
......
......@@ -21,6 +21,7 @@
#include <sfx2/objsh.hxx>
#include <sfx2/module.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
......@@ -46,6 +47,7 @@
#include <sal/macros.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <comphelper/lok.hxx>
#include <svtools/unitconv.hxx>
using namespace ::editeng;
using ::com::sun::star::uno::Reference;
......
......@@ -28,6 +28,7 @@
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svtools/unitconv.hxx>
#include <svl/languageoptions.hxx>
#include <svx/xtable.hxx>
......@@ -72,6 +73,7 @@
#include <svx/flagsdef.hxx>
#include <FontFeaturesDialog.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
using namespace ::com::sun::star;
......
......@@ -25,6 +25,7 @@
#include <svx/connctrl.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/dlgutil.hxx>
#include <svx/ofaitem.hxx>
#include <svx/svdattr.hxx>
......@@ -33,6 +34,7 @@
#include <svx/sxekitm.hxx>
#include <svx/sxelditm.hxx>
#include <svx/sxenditm.hxx>
#include <svtools/unitconv.hxx>
#include <connect.hxx>
......
......@@ -32,9 +32,11 @@
#include <rtl/ustring.hxx>
#include <tools/fract.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <strings.hrc>
#include <vcl/field.hxx>
#include <vcl/settings.hxx>
#include <svtools/unitconv.hxx>
#define CM_1_TO_TWIP 567
#define TWIP_TO_INCH 1440
......
......@@ -22,6 +22,7 @@
#include <swpossizetabpage.hxx>
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <svtools/unitconv.hxx>
#include <svx/dialogs.hrc>
#include <svx/svddef.hxx>
......
......@@ -25,6 +25,7 @@
#include <comphelper/processfactory.hxx>
#include <svl/macitem.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <tools/debug.hxx>
#include <vcl/idle.hxx>
#include <cfgutil.hxx>
......
......@@ -25,6 +25,7 @@
#include <vcl/settings.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/dlgutil.hxx>
#include <svx/measctrl.hxx>
#include <svx/ofaitem.hxx>
......@@ -42,6 +43,7 @@
#include <svx/sxmtpitm.hxx>
#include <svx/sxmtritm.hxx>
#include <svx/sxmuitm.hxx>
#include <svtools/unitconv.hxx>
#include <measure.hxx>
......
......@@ -26,6 +26,7 @@
#include <i18nlangtag/lang.h>
#include <i18nlangtag/mslangid.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svtools/colorcfg.hxx>
#include <numcategories.hrc>
......
......@@ -47,6 +47,7 @@
#include <sfx2/htmlmode.hxx>
#include <unotools/pathoptions.hxx>
#include <svtools/ctrltool.hxx>
#include <svtools/unitconv.hxx>
#include <editeng/unolingu.hxx>
#include <com/sun/star/style/NumberingType.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
......@@ -58,6 +59,7 @@
#include <comphelper/processfactory.hxx>
#include <com/sun/star/text/XNumberingTypeInfo.hpp>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <algorithm>
#include <memory>
......
......@@ -25,6 +25,7 @@
#include <sfx2/viewsh.hxx>
#include <svl/itemiter.hxx>
#include <svl/languageoptions.hxx>
#include <svtools/unitconv.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <unotools/configitem.hxx>
......
......@@ -26,6 +26,7 @@
#include <sfx2/module.hxx>
#include <vcl/mnemonic.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svl/languageoptions.hxx>
#include <svl/cjkoptions.hxx>
......
......@@ -33,6 +33,8 @@
#include <com/sun/star/text/VertOrientation.hpp>
#include <com/sun/star/text/RelOrientation.hpp>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svtools/unitconv.hxx>
using namespace ::com::sun::star::text;
......
......@@ -24,6 +24,7 @@
#include <svx/svdobj.hxx>
#include <svx/svdview.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/xtable.hxx>
#include <svx/globl3d.hxx>
......
......@@ -21,6 +21,7 @@
#include <sfx2/app.hxx>
#include <sfx2/objsh.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <cuitabarea.hxx>
#include <cuitabline.hxx>
#include <dlgname.hxx>
......
......@@ -19,7 +19,9 @@
#include <sfx2/app.hxx>
#include <svtools/ruler.hxx>
#include <svtools/unitconv.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
......
......@@ -27,6 +27,7 @@
#include <svx/dlgutil.hxx>
#include <svx/svdmark.hxx>
#include <svx/svdview.hxx>
#include <svtools/unitconv.hxx>
const sal_uInt16 SvxTextAnimationPage::pRanges[] =
{
......
......@@ -30,12 +30,14 @@
#include <svx/svdview.hxx>
#include <svx/svdotext.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <textattr.hxx>
#include <svx/dlgutil.hxx>
#include <sfx2/request.hxx>
#include <svx/ofaitem.hxx>
#include <editeng/writingmodeitem.hxx>
#include <svtools/unitconv.hxx>
using namespace ::com::sun::star;
......
......@@ -23,6 +23,7 @@
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/xattr.hxx>
#include <svx/xpool.hxx>
......
......@@ -23,6 +23,7 @@
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/xattr.hxx>
#include <svx/xpool.hxx>
#include <strings.hrc>
......@@ -52,6 +53,7 @@
#include <sfx2/dialoghelper.hxx>
#include <sal/log.hxx>
#include <comphelper/lok.hxx>
#include <svtools/unitconv.hxx>
using namespace com::sun::star;
......
......@@ -45,7 +45,9 @@
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <sal/log.hxx>
#include <svtools/unitconv.hxx>
using namespace com::sun::star;
......
......@@ -52,9 +52,11 @@
#include <sfx2/opengrf.hxx>
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/strings.hrc>
#include <vcl/settings.hxx>
#include <cuitabarea.hxx>
#include <svtools/unitconv.hxx>
#define MAX_BMP_WIDTH 16
#define MAX_BMP_HEIGHT 16
......
......@@ -43,7 +43,9 @@
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <cuitabarea.hxx>
#include <svtools/unitconv.hxx>
#define XOUT_WIDTH 150
......
......@@ -21,6 +21,8 @@
#include <sfx2/module.hxx>
#include <svx/colorbox.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svtools/unitconv.hxx>
#include <svx/xattr.hxx>
#include <svx/xpool.hxx>
......
......@@ -23,6 +23,7 @@
#include <sfx2/app.hxx>
#include <sfx2/module.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/xattr.hxx>
#include <svx/xpool.hxx>
......
......@@ -31,8 +31,10 @@
#include <svx/svdoashp.hxx>
#include <svx/sderitm.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/transfrmhelper.hxx>
#include <editeng/sizeitem.hxx>
#include <svtools/unitconv.hxx>
#include <transfrm.hxx>
#include <svx/dlgutil.hxx>
......
......@@ -920,3 +920,11 @@ blacklist:
- com/sun/star/awt/FontDescriptor.hpp
- com/sun/star/style/LineSpacing.hpp
- com/sun/star/style/TabStop.hpp
include/svx/AccessibleControlShape.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertyChangeListener.hpp
- com/sun/star/container/XContainerListener.hpp
- com/sun/star/util/XModeChangeListener.hpp
include/svx/dbaexchange.hxx:
# Needed for implicit dtor
- com/sun/star/beans/PropertyValue.hpp
......@@ -20,15 +20,10 @@
#ifndef INCLUDED_SVX_ACCESSIBLECONTROLSHAPE_HXX
#define INCLUDED_SVX_ACCESSIBLECONTROLSHAPE_HXX
#include <exception>
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <com/sun/star/container/XContainerListener.hpp>
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/util/XModeChangeListener.hpp>
#include <comphelper/uno3.hxx>
#include <cppuhelper/implbase4.hxx>
......@@ -59,7 +54,6 @@ namespace comphelper
class OWrappedAccessibleChildrenManager;
}
class SdrObject;
namespace accessibility {
class AccessibleShapeInfo;
......
......@@ -20,11 +20,8 @@
#ifndef INCLUDED_SVX_ACCESSIBLEGRAPHICSHAPE_HXX
#define INCLUDED_SVX_ACCESSIBLEGRAPHICSHAPE_HXX
#include <exception>
#include <com/sun/star/accessibility/XAccessibleImage.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <rtl/ustring.hxx>
......
......@@ -20,13 +20,9 @@
#ifndef INCLUDED_SVX_ACCESSIBLEOLESHAPE_HXX
#define INCLUDED_SVX_ACCESSIBLEOLESHAPE_HXX
#include <exception>
#include <com/sun/star/accessibility/XAccessibleAction.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <rtl/ustring.hxx>
......
......@@ -21,8 +21,6 @@
#ifndef INCLUDED_SVX_ACCESSIBLESHAPE_HXX
#define INCLUDED_SVX_ACCESSIBLESHAPE_HXX
#include <exception>
#include <com/sun/star/accessibility/TextSegment.hpp>
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
#include <com/sun/star/accessibility/XAccessibleExtendedAttributes.hpp>
......@@ -33,11 +31,8 @@
#include <com/sun/star/awt/Size.hpp>
#include <com/sun/star/document/XEventListener.hpp>
#include <com/sun/star/lang/EventObject.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/uno/Type.hxx>
#include <com/sun/star/lang/XUnoTunnel.hpp>
......@@ -70,7 +65,6 @@ class AccessibleShapeInfo;
class AccessibleTextHelper;
class ChildrenManager;
class IAccessibleParent;
class IAccessibleViewForwarder;
/** This base class provides a base implementation for all shapes. For more
detailed documentation about the methods refer to the descriptions of
......
......@@ -20,13 +20,11 @@
#define INCLUDED_SVX_AFFINEMATRIXITEM_HXX
#include <com/sun/star/geometry/AffineMatrix2D.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <sal/types.h>
#include <svl/poolitem.hxx>
#include <svx/svxdllapi.h>
class SfxItemPool;
class SvStream;
class SVX_DLLPUBLIC AffineMatrixItem : public SfxPoolItem
{
......
......@@ -22,11 +22,8 @@
#include <sal/config.h>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <rtl/ref.hxx>
#include <svx/IAccessibleViewForwarderListener.hxx>
#include <svx/svxdllapi.h>
namespace com { namespace sun { namespace star {
......@@ -40,7 +37,6 @@ namespace accessibility {
class AccessibleContextBase;
class AccessibleShapeTreeInfo;
class ChildrenManagerImpl;
class IAccessibleViewForwarder;
/** The AccessibleChildrenManager class acts as a cache of the
accessible objects of the currently visible shapes of a draw page and as
......
......@@ -13,11 +13,21 @@
#include <sal/config.h>
#include <svx/svxdllapi.h>
#include <svx/ClassificationField.hxx>
#include <vector>
#include <sfx2/classificationhelper.hxx>
#include <com/sun/star/beans/XPropertyContainer.hpp>
#include <com/sun/star/beans/Property.hpp>
namespace com::sun::star::beans
{
class XPropertyContainer;
}
namespace com::sun::star::beans
{
struct Property;
}
namespace svx
{
class ClassificationResult;
}
namespace svx
{
......
......@@ -12,13 +12,14 @@
#define INCLUDED_SVX_CLASSIFICATIONDIALOG_HXX
#include <sal/config.h>
#include <vcl/customweld.hxx>
#include <vcl/weld.hxx>
#include <svx/svxdllapi.h>
#include <svx/ClassificationEditView.hxx>
#include <sfx2/classificationhelper.hxx>
#include <svx/ClassificationField.hxx>
namespace svx { class ClassificationEditView; }
namespace weld { class CustomWeld; }
namespace svx {
class SVX_DLLPUBLIC ClassificationDialog : public weld::GenericDialogController
......
......@@ -13,11 +13,9 @@
#include <sal/config.h>
#include <svx/svxdllapi.h>
#include <vcl/ctrl.hxx>
#include <editeng/flditem.hxx>
#include <editeng/numitem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/editview.hxx>
#include <editeng/svxenum.hxx>
#include <vcl/customweld.hxx>
namespace svx {
......
......@@ -11,9 +11,10 @@
#define INCLUDED_SVX_COMMONSTYLEMANAGER_HXX
#include <sfx2/StyleManager.hxx>
#include <sfx2/StylePreviewRenderer.hxx>
#include <svx/svxdllapi.h>
namespace sfx2 { class StylePreviewRenderer; }
class OutputDevice;
class SfxObjectShell;
class SfxStyleSheetBase;
......
......@@ -21,11 +21,13 @@
#ifndef INCLUDED_SVX_DESCRIPTIONGENERATOR_HXX
#define INCLUDED_SVX_DESCRIPTIONGENERATOR_HXX
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/uno/Reference.hxx>
#include <rtl/ustrbuf.hxx>
#include <svx/svxdllapi.h>
namespace com::sun::star::beans { class XPropertySet; }
namespace com::sun::star::drawing { class XShape; }
namespace accessibility {
......
......@@ -19,7 +19,6 @@
#ifndef INCLUDED_SVX_ALGITEM_HXX
#define INCLUDED_SVX_ALGITEM_HXX
#include <com/sun/star/uno/Any.hxx>
#include <editeng/svxenum.hxx>
#include <rtl/ustring.hxx>
#include <sal/types.h>
......
......@@ -25,7 +25,6 @@
#include <sfx2/dockwin.hxx>
#include <svl/poolitem.hxx>
#include <svx/svxdllapi.h>
#include <svx/xtable.hxx>
#include <tools/color.hxx>
#include <vcl/animate.hxx>
#include <vcl/bitmap.hxx>
......@@ -38,7 +37,6 @@
namespace vcl { class Window; }
class CheckBox;
class ColorLB;
class MetricField;
class PushButton;
class SfxBindings;
......
......@@ -30,23 +30,16 @@
#include <svx/svxdllapi.h>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/event.hxx>
#include <vcl/fontcharmap.hxx>
#include <vcl/outdev.hxx>
#include <vcl/metric.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/customweld.hxx>
#include <vcl/weld.hxx>
#include <vcl/window.hxx>
#include <vcl/textview.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
namespace com { namespace sun { namespace star {
namespace accessibility { class XAccessible; }
} } }
namespace vcl { class Font; }
namespace com::sun::star::uno { class XComponentContext; }
using namespace ::com::sun::star;
......
......@@ -20,15 +20,14 @@
#ifndef INCLUDED_SVX_CHARTHELPER_HXX
#define INCLUDED_SVX_CHARTHELPER_HXX
#include <com/sun/star/uno/Reference.hxx>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <sal/types.h>
#include <svx/svxdllapi.h>
namespace com { namespace sun { namespace star {
namespace chart2 { class XDiagram; }
namespace embed { class XEmbeddedObject; }
namespace frame { class XModel; }
namespace uno { template <typename > class Reference; }
} } }
namespace basegfx { class B2DRange; }
......
......@@ -21,17 +21,13 @@
#define INCLUDED_SVX_CHECKLBX_HXX
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include <vcl/treelistbox.hxx>
#include <svx/svxdllapi.h>
#include <tools/contnr.hxx>
#include <tools/solar.h>
#include <tools/wintypes.hxx>