Kaydet (Commit) 1d944b93 authored tarafından Gabor Kelemen's avatar Gabor Kelemen Kaydeden (comit) Miklos Vajna

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

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

Change-Id: I84fc75e06e61e5391aef6e237c36daad95dedb84
Reviewed-on: https://gerrit.libreoffice.org/72550
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 2e3e80fb
......@@ -18,6 +18,7 @@
*/
#include <sfx2/basedlgs.hxx>
#include <svx/ucsubset.hxx>
#include <cuigaldlg.hxx>
#include <hlmarkwn.hxx>
#include <srchxtra.hxx>
......
......@@ -27,6 +27,7 @@
#include <sal/log.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/ucsubset.hxx>
#include <numfmt.hxx>
#include <splitcelldlg.hxx>
#include <dstribut.hxx>
......
......@@ -18,6 +18,7 @@
*/
#include <i18nutil/unicode.hxx>
#include <vcl/event.hxx>
#include <vcl/field.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/settings.hxx>
......@@ -40,6 +41,7 @@
#include <svl/eitem.hxx>
#include <svl/languageoptions.hxx>
#include <svx/SmartTagMgr.hxx>
#include <svx/ucsubset.hxx>
#include <com/sun/star/smarttags/XSmartTagRecognizer.hpp>
#include <com/sun/star/smarttags/XSmartTagAction.hpp>
#include <rtl/strbuf.hxx>
......
......@@ -29,6 +29,7 @@
#include <sfx2/viewfrm.hxx>
#include <svx/dialogs.hrc>
#include <svx/svxids.hrc>
#include <svx/ucsubset.hxx>
#include <svtools/unitconv.hxx>
#include <svl/languageoptions.hxx>
#include <svx/xtable.hxx>
......
......@@ -32,6 +32,7 @@
#include <svx/colorbox.hxx>
#include <svx/strarray.hxx>
#include <svx/gallery.hxx>
#include <svx/ucsubset.hxx>
#include <svl/urihelper.hxx>
#include <editeng/brushitem.hxx>
#include <svl/intitem.hxx>
......
......@@ -26,6 +26,7 @@
#include <svl/itemset.hxx>
#include <svx/charmap.hxx>
#include <svx/searchcharmap.hxx>
#include <svx/ucsubset.hxx>
#include <sfx2/charwin.hxx>
#include <cui/cuidllapi.h>
......
......@@ -20,19 +20,19 @@
#ifndef INCLUDED_SVX_SHAPETYPEHANDLER_HXX
#define INCLUDED_SVX_SHAPETYPEHANDLER_HXX
#include <svx/AccessibleShapeTreeInfo.hxx>
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/AccessibleShape.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/uno/XInterface.hpp>
#include <com/sun/star/drawing/XShape.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <svx/svxdllapi.h>
#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <unordered_map>
#include <vector>
namespace accessibility { class AccessibleShape; }
namespace accessibility { class AccessibleShapeInfo; }
namespace accessibility { class AccessibleShapeTreeInfo; }
namespace com::sun::star::drawing { class XShape; }
namespace com::sun::star::uno { template <typename > class Reference; }
namespace accessibility {
/** Use an integer to represent shape type ids. A ShapeTypeId is unique
......
......@@ -30,11 +30,6 @@
namespace sdr { namespace properties {
class BaseProperties;
class E3dSceneProperties;
}}
namespace drawinglayer { namespace geometry {
class ViewInformation3D;
}}
/*************************************************************************
......
......@@ -23,13 +23,13 @@
#include <svx/svddef.hxx>
#include <svx/sdooitm.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <rtl/ustring.hxx>
#include <svx/svxdllapi.h>
#include <map>
#include <unordered_map>
namespace com::sun::star::beans { struct PropertyValue; }
namespace com::sun::star::uno { class Any; }
class SVX_DLLPUBLIC SdrCustomShapeGeometryItem : public SfxPoolItem
{
public:
......
......@@ -21,11 +21,12 @@
#define INCLUDED_SVX_SDRHITTESTHELPER_HXX
#include <svx/svxdllapi.h>
#include <tools/gen.hxx>
// #i101872# new Object HitTest as View-tooling
class Point;
class SdrObject;
class SdrPageView;
class SdrLayerIDSet;
......
......@@ -24,8 +24,6 @@
#include <svx/svdsob.hxx>
#include <memory>
class SdrObject;
class SfxItemSet;
class SdrPageProperties;
namespace sdr
......
......@@ -21,14 +21,14 @@
#define INCLUDED_SVX_SDRPAGEWINDOW_HXX
#include <basegfx/range/b2irectangle.hxx>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/svdtypes.hxx>
#include <svx/svxdllapi.h>
#include <rtl/ref.hxx>
#include <memory>
#include <com/sun/star/awt/XControlContainer.hpp>
namespace com::sun::star::awt { class XControlContainer; }
namespace com::sun::star::uno { template <class interface_type> class Reference; }
namespace rtl { template <class reference_type> class Reference; }
namespace sdr { namespace overlay { class OverlayManager; } }
namespace vcl { class Region; }
namespace sdr
......@@ -40,7 +40,7 @@ namespace sdr
}
}
namespace basegfx { class B2DRange; class B2IRange; }
namespace basegfx { class B2DRange; }
class SdrPaintWindow;
class SdrPageView;
......
......@@ -20,7 +20,6 @@
#define INCLUDED_SVX_SDRUNDOMANAGER_HXX
#include <svx/svxdllapi.h>
#include <sal/types.h>
#include <editeng/editund2.hxx>
#include <tools/link.hxx>
......
......@@ -20,7 +20,7 @@
#define INCLUDED_SVX_SDTFCHIM_HXX
#include <svl/eitem.hxx>
#include <svx/svddef.hxx>
#include <svx/svxdllapi.h>
class SVX_DLLPUBLIC SdrTextFixedCellHeightItem : public SfxBoolItem
{
......
......@@ -19,36 +19,23 @@
#ifndef INCLUDED_SVX_SEARCHCHARMAP_HXX
#define INCLUDED_SVX_SEARCHCHARMAP_HXX
#include <map>
#include <memory>
#include <sal/types.h>
#include <rtl/ref.hxx>
#include <svx/svxdllapi.h>
#include <svx/charmap.hxx>
#include <tools/gen.hxx>
#include <tools/link.hxx>
#include <vcl/ctrl.hxx>
#include <vcl/event.hxx>
#include <vcl/outdev.hxx>
#include <svx/ucsubset.hxx>
#include <vcl/metric.hxx>
#include <vcl/vclptr.hxx>
#include <vcl/window.hxx>
#include <vector>
#include <unordered_map>
namespace com { namespace sun { namespace star {
namespace accessibility { class XAccessible; }
} } }
namespace vcl { class Font; }
namespace svx { struct SvxShowCharSetItem; }
namespace tools { class Rectangle; }
namespace weld { class ScrolledWindow; }
#define COLUMN_COUNT 16
#define ROW_COUNT 8
class CommandEvent;
class ScrollBar;
class Subset;
class SVX_DLLPUBLIC SvxSearchCharSet : public SvxShowCharSet
{
......
......@@ -30,7 +30,6 @@ namespace vcl { class Window; }
class SfxItemSet;
class SfxRequest;
class SfxStyleSheet;
class SdrPage;
class SdrModel;
class Point;
class FontList;
......
......@@ -22,12 +22,15 @@
#include <svx/svxdllapi.h>
#include <svx/shapeproperty.hxx>
#include <com/sun/star/beans/PropertyChangeEvent.hpp>
#include <com/sun/star/beans/XPropertyChangeListener.hpp>
#include <rtl/ustring.hxx>
#include <memory>
namespace com::sun::star::beans { class XPropertyChangeListener; }
namespace com::sun::star::uno { class Any; }
namespace com::sun::star::uno { template <typename > class Reference; }
namespace osl { class Mutex; }
namespace cppu
{
class OWeakObject;
......
......@@ -25,6 +25,7 @@
#include <vcl/metric.hxx>
#include <list>
#include <vector>
class FontCharMap;
......
......@@ -44,6 +44,7 @@
#include <svx/svdobj.hxx>
#include <svx/AccessibleTextHelper.hxx>
#include <svx/AccessibleShape.hxx>
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/IAccessibleParent.hxx>
#include <svx/IAccessibleViewForwarder.hxx>
#include <svx/ShapeTypeHandler.hxx>
......
......@@ -19,6 +19,7 @@
#include <AccessiblePresentationGraphicShape.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
#include <SdShapeTypes.hxx>
......
......@@ -19,6 +19,7 @@
#include <AccessiblePresentationOLEShape.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
#include <SdShapeTypes.hxx>
......
......@@ -26,6 +26,8 @@
#include <svx/DescriptionGenerator.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
......
......@@ -41,6 +41,7 @@
#include <editeng/editeng.hxx>
#include <svx/svdoutl.hxx>
#include <svx/svxids.hrc>
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <sfx2/docfile.hxx>
#include <editeng/outlobj.hxx>
......
......@@ -25,6 +25,7 @@
#include <svx/svdmodel.hxx>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
#include <comphelper/sequence.hxx>
#include <cppuhelper/queryinterface.hxx>
......
......@@ -27,6 +27,7 @@
#include <cppuhelper/queryinterface.hxx>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
using namespace ::accessibility;
using namespace ::com::sun::star;
......
......@@ -30,6 +30,7 @@
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/drawing/XShapes.hpp>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/drawing/FillStyle.hpp>
#include <com/sun/star/text/XText.hpp>
......
......@@ -31,6 +31,7 @@
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/AccessibleEventId.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/lang/IndexOutOfBoundsException.hpp>
#include <com/sun/star/view/XSelectionSupplier.hpp>
......
......@@ -23,6 +23,7 @@
#include <svx/AccessibleShapeInfo.hxx>
#include <com/sun/star/drawing/XShapeDescriptor.hpp>
#include <vcl/svapp.hxx>
#include <svx/AccessibleShape.hxx>
#include <svx/dialmgr.hxx>
#include <svx/unoshape.hxx>
......
......@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <vcl/event.hxx>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <vcl/virdev.hxx>
......
......@@ -22,6 +22,8 @@
#include <o3tl/any.hxx>
#include <svx/sdasitm.hxx>
#include <com/sun/star/beans/PropertyValue.hpp>
using namespace ::std;
using namespace com::sun::star;
......
......@@ -53,6 +53,7 @@
#include <flyfrm.hxx>
#include <ndtyp.hxx>
#include <IDocumentDrawModelAccess.hxx>
#include <svx/AccessibleShapeInfo.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <vcl/svapp.hxx>
#include <svx/SvxShapeTypes.hxx>
......@@ -61,6 +62,7 @@
#include <com/sun/star/accessibility/AccessibleStateType.hpp>
#include <com/sun/star/accessibility/AccessibleRole.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/document/XEventBroadcaster.hpp>
#include <cppuhelper/implbase.hxx>
#include <comphelper/interfacecontainer2.hxx>
#include <pagepreviewlayout.hxx>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment