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

tdf#42949 Fix IWYU warnings in sd/inc/*

Found with bin/find-unneeded-includes
Removal proposals are dealt with here
With fallout management as necessary

Change-Id: Iaef9eec626334c480dd5a2def63bb476350ceebb
Reviewed-on: https://gerrit.libreoffice.org/54617Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst bb893767
---
assumeFilename: sd/source/core/drawdoc.cxx
blacklist:
sd/inc/createpresentation.hxx:
# base class has to be a complete type
- com/sun/star/uno/Reference.hxx
sd/inc/createunopageimpl.hxx:
# base class has to be a complete type
- com/sun/star/uno/Reference.hxx
sd/inc/createunocustomshow.hxx:
# base class has to be a complete type
- com/sun/star/uno/Reference.hxx
sd/inc/CustomAnimationCloner.hxx:
# base class has to be a complete type
- com/sun/star/animations/XAnimationNode.hpp
sd/inc/CustomAnimationPreset.hxx:
# base class has to be a complete type
- com/sun/star/lang/XMultiServiceFactory.hpp
sd/inc/CustomAnimationEffect.hxx:
# base class has to be a complete type
- com/sun/star/animations/XAnimationNode.hpp
- com/sun/star/animations/XAudio.hpp
- com/sun/star/animations/XTimeContainer.hpp
- com/sun/star/drawing/XShape.hpp
- com/sun/star/util/XChangesListener.hpp
sd/inc/OutlinerIterator.hxx:
# base class has to be a complete type
- svx/svdobj.hxx
sd/inc/sderror.hxx:
# needed for defines
- vcl/errcode.hxx
sd/inc/stlfamily.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/container/XIndexAccess.hpp
- com/sun/star/container/XNameContainer.hpp
- com/sun/star/lang/XComponent.hpp
- com/sun/star/container/XNamed.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/lang/XSingleServiceFactory.hpp
- com/sun/star/uno/Any.hxx
sd/inc/stlpool.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/container/XIndexAccess.hpp
- com/sun/star/lang/XComponent.hpp
sd/inc/stlsheet.hxx:
# base class has to be a complete type
- com/sun/star/beans/XPropertySet.hpp
- com/sun/star/beans/XPropertyState.hpp
- com/sun/star/lang/XComponent.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/style/XStyle.hpp
- com/sun/star/util/XModifyBroadcaster.hpp
sd/inc/textapi.hxx:
# base class has to be a complete type
- editeng/outliner.hxx
sd/inc/TransitionPreset.hxx:
# base class has to be a complete type
- com/sun/star/lang/XMultiServiceFactory.hpp
- memory
sd/inc/undoanim.hxx:
# base class has to be a complete type
- com/sun/star/animations/XAnimationNode.hpp
sd/inc/undo/undoobjects.hxx:
# base class has to be a complete type
- tools/weakbase.hxx
......@@ -30,7 +30,6 @@
#include <list>
#include <vector>
#include <map>
#include <memory>
class SdrPathObj;
class SdrModel;
......
......@@ -22,7 +22,6 @@
#include <sal/config.h>
#include <memory>
#include <vector>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
......
......@@ -20,8 +20,6 @@
#ifndef INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
#define INCLUDED_SD_INC_DOCUMENTRENDERER_HRC
#include <utility>
#define NC_(Context, String) (Context "\004" u8##String)
const char* STR_IMPRESS_PRINT_UI_CONTENT_CHOICES[] =
......
......@@ -28,7 +28,6 @@ class SdDrawDocument;
class SdPage;
class SvxShape;
class SdAnimationInfo;
class SdrObject;
class SdrPathObj;
class SdrObjGroup;
......
......@@ -20,10 +20,6 @@
#ifndef INCLUDED_SD_INC_SDSHAPETYPES_HXX
#define INCLUDED_SD_INC_SDSHAPETYPES_HXX
#include <svx/ShapeTypeHandler.hxx>
#include <svx/AccessibleShape.hxx>
#include <com/sun/star/accessibility/XAccessible.hpp>
namespace accessibility {
/** Register the SD presentation shape types with the ShapeTypeHandler singleton.
......
......@@ -31,8 +31,6 @@ namespace com { namespace sun { namespace star {
namespace uno { template<class X> class Reference; }
} } }
class SdPage;
namespace sd {
class TransitionPreset;
......
......@@ -28,9 +28,6 @@
#include <tools/color.hxx>
#include "sddllapi.h"
class SdrObject;
class SdrPathObj;
class SD_DLLPUBLIC SdAnimationInfo : public SdrObjUserData
{
public:
......
......@@ -24,7 +24,6 @@
#include <cppuhelper/weakref.hxx>
#include "sddllapi.h"
class SdDrawDocument;
class SdPage;
class SD_DLLPUBLIC SdCustomShow final
......
......@@ -20,9 +20,6 @@
#ifndef INCLUDED_SD_INC_GLOB_HXX
#define INCLUDED_SD_INC_GLOB_HXX
#include <svl/style.hxx>
#include <sal/types.h>
#define SD_IF_SDAPP SFX_INTERFACE_SD_START + SfxInterfaceId(0)
#define SD_IF_SDDRAWDOCSHELL SFX_INTERFACE_SD_START + SfxInterfaceId(1)
#define SD_IF_SDDRAWVIEWSHELL SFX_INTERFACE_SD_START + SfxInterfaceId(3)
......
......@@ -20,9 +20,6 @@
#ifndef INCLUDED_SD_INC_HELPIDS_H
#define INCLUDED_SD_INC_HELPIDS_H
#include <svx/svxcommands.h>
#include "sdcommands.h"
#define HID_SDDRAWVIEWSHELL "SD_HID_SDDRAWVIEWSHELL"
#define HID_SDGRAPHICVIEWSHELL "SD_HID_SDGRAPHICVIEWSHELL"
#define HID_SDOUTLINEVIEWSHELL "SD_HID_SDOUTLINEVIEWSHELL"
......
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_SD_INC_IMAPINFO_HXX
#define INCLUDED_SD_INC_IMAPINFO_HXX
#include "sdiocmpt.hxx"
#include "glob.hxx"
#include <svx/svdobj.hxx>
#include <svtools/imap.hxx>
......
......@@ -20,14 +20,10 @@
#ifndef INCLUDED_SD_INC_SDATTR_HXX
#define INCLUDED_SD_INC_SDATTR_HXX
#include <svl/intitem.hxx>
#include <svl/eitem.hxx>
#include <svl/stritem.hxx>
#include "sdattr.hrc"
#include "glob.hxx"
#include "fadedef.h"
#include "diadef.h"
// layer attributes
inline SfxStringItem makeSdAttrLayerName( const OUString& aStr )
......
......@@ -22,10 +22,8 @@
#include <memory>
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/style/XStyle.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertyState.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
......@@ -38,8 +36,6 @@
#include <svl/style.hxx>
#include <editeng/unoipset.hxx>
class SdStyleSheet;
class SdPage;
struct SdStyleFamilyImpl;
......
......@@ -22,11 +22,7 @@
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/container/XNamed.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XSingleServiceFactory.hpp>
#include <cppuhelper/implbase.hxx>
#include <map>
......@@ -37,10 +33,8 @@
#include "sddllapi.h"
class SdStyleSheet;
class SdDrawDocument;
class SdPage;
class SfxStyleSheetBase;
class SvxNumberFormat;
typedef std::map< const SdPage*, SdStyleFamilyRef > SdStyleFamilyMap;
......
......@@ -35,13 +35,12 @@
#include <svl/style.hxx>
#include <editeng/unoipset.hxx>
#include <memory>
#include "prlayout.hxx"
class ModifyListenerForewarder;
struct SfxItemPropertySimpleEntry;
typedef cppu::ImplInheritanceHelper< SfxUnoStyleSheet,
css::beans::XPropertySet,
......
......@@ -20,14 +20,9 @@
#ifndef INCLUDED_SD_INC_TEXTAPI_HXX
#define INCLUDED_SD_INC_TEXTAPI_HXX
#include <editeng/unoedsrc.hxx>
#include <editeng/unotext.hxx>
#include <editeng/eeitem.hxx>
#include <rtl/ref.hxx>
#include <editeng/outliner.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/unoforou.hxx>
#include <editeng/unoipset.hxx>
class SdDrawDocument;
......
......@@ -20,12 +20,9 @@
#ifndef INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
#define INCLUDED_SD_INC_UNDO_UNDOMANAGER_HXX
#include <misc/scopelock.hxx>
#include <svx/sdrundomanager.hxx>
#include <sddllapi.h>
class SfxViewShell;
namespace sd
{
......
......@@ -22,9 +22,8 @@
#include <memory>
#include <svx/svdundo.hxx>
#include <svx/svdpage.hxx>
#include <svx/svdobj.hxx>
#include <pres.hxx>
#include <tools/weakbase.hxx>
class SdrObjUserCall;
class SdPage;
......
......@@ -26,6 +26,9 @@
#include <editeng/eeitem.hxx>
#include <editeng/editeng.hxx>
#include <editeng/outlobj.hxx>
#include <editeng/unoforou.hxx>
#include <editeng/unoprnms.hxx>
#include <editeng/unoipset.hxx>
#include <Outliner.hxx>
#include <svx/svdpool.hxx>
......
......@@ -22,6 +22,7 @@
#include <SdShapeTypes.hxx>
#include <svx/DescriptionGenerator.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <rtl/ustring.h>
using namespace ::com::sun::star;
......
......@@ -22,6 +22,7 @@
#include <SdShapeTypes.hxx>
#include <svx/DescriptionGenerator.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <rtl/ustring.h>
using namespace ::com::sun::star;
......
......@@ -24,6 +24,7 @@
#include <strings.hrc>
#include <sdresid.hxx>
#include <svx/DescriptionGenerator.hxx>
#include <svx/ShapeTypeHandler.hxx>
#include <rtl/ustring.h>
using namespace ::com::sun::star;
......
......@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <svx/ShapeTypeHandler.hxx>
#include <SdShapeTypes.hxx>
#include <AccessiblePresentationShape.hxx>
#include <AccessiblePresentationGraphicShape.hxx>
......
......@@ -21,6 +21,7 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <svl/itemset.hxx>
#include <svl/intitem.hxx>
#include <vcl/svapp.hxx>
#include <sdattr.hxx>
......
......@@ -26,6 +26,7 @@
#include <svx/svdpagv.hxx>
#include <vcl/scrbar.hxx>
#include <vcl/settings.hxx>
#include <sdcommands.h>
#include <tools/poly.hxx>
#include <svx/fmshell.hxx>
......
......@@ -34,6 +34,7 @@
#include <svx/zoomslideritem.hxx>
#include <svl/eitem.hxx>
#include <sdcommands.h>
#include <svx/dialogs.hrc>
#include <svx/extrusionbar.hxx>
#include <svx/fontworkbar.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