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

tdf#42949 Fix IWYU warnings in include/sot/*

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

Change-Id: Ic5d0dd8c712e74825ed0d0de6bf366568ca48f25
Reviewed-on: https://gerrit.libreoffice.org/62460
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst f051e54a
...@@ -209,6 +209,11 @@ blacklist: ...@@ -209,6 +209,11 @@ blacklist:
- com/sun/star/lang/XServiceInfo.hpp - com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/rendering/XBezierPolyPolygon2D.hpp - com/sun/star/rendering/XBezierPolyPolygon2D.hpp
- com/sun/star/rendering/XLinePolyPolygon2D.hpp - com/sun/star/rendering/XLinePolyPolygon2D.hpp
include/sot/exchange.hxx:
# Needed for template
- o3tl/typed_flags_set.hxx
# Used in a macro #define
- com/sun/star/datatransfer/dnd/DNDConstants.hpp
include/tools/debug.hxx: include/tools/debug.hxx:
# Used behind #ifndef # Used behind #ifndef
- tools/toolsdllapi.h - tools/toolsdllapi.h
......
...@@ -20,22 +20,18 @@ ...@@ -20,22 +20,18 @@
#ifndef INCLUDED_SOT_EXCHANGE_HXX #ifndef INCLUDED_SOT_EXCHANGE_HXX
#define INCLUDED_SOT_EXCHANGE_HXX #define INCLUDED_SOT_EXCHANGE_HXX
#include <list>
#include <vector> #include <vector>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/datatransfer/DataFlavor.hpp>
#include <com/sun/star/datatransfer/dnd/DNDConstants.hpp> #include <com/sun/star/datatransfer/dnd/DNDConstants.hpp>
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
#include <sot/formats.hxx> #include <sot/formats.hxx>
#include <tools/solar.h>
#include <o3tl/typed_flags_set.hxx> #include <o3tl/typed_flags_set.hxx>
class SotDataObject;
namespace com { namespace sun { namespace star { namespace datatransfer { namespace com { namespace sun { namespace star { namespace datatransfer {
class XTransferable; class XTransferable;
} } } } } } } }
namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
struct DataFlavorEx : public css::datatransfer::DataFlavor struct DataFlavorEx : public css::datatransfer::DataFlavor
{ {
......
...@@ -21,9 +21,10 @@ ...@@ -21,9 +21,10 @@
#define INCLUDED_SOT_FILELIST_HXX #define INCLUDED_SOT_FILELIST_HXX
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
#include <tools/stream.hxx> #include <rtl/ustring.hxx>
#include <vector> #include <vector>
class SvStream;
class SOT_DLLPUBLIC FileList class SOT_DLLPUBLIC FileList
{ {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#ifndef INCLUDED_SOT_FORMATS_HXX #ifndef INCLUDED_SOT_FORMATS_HXX
#define INCLUDED_SOT_FORMATS_HXX #define INCLUDED_SOT_FORMATS_HXX
#include <tools/solar.h> #include <sal/types.h>
// - predefined formats - // - predefined formats -
// Do NOT change the order of these values as the implementation depends on them! // Do NOT change the order of these values as the implementation depends on them!
......
...@@ -20,28 +20,18 @@ ...@@ -20,28 +20,18 @@
#ifndef INCLUDED_SOT_STG_HXX #ifndef INCLUDED_SOT_STG_HXX
#define INCLUDED_SOT_STG_HXX #define INCLUDED_SOT_STG_HXX
#include <com/sun/star/uno/Any.h>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <com/sun/star/embed/XStorage.hpp>
#include <tools/solar.h> #include <tools/solar.h>
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <tools/globname.hxx> #include <tools/globname.hxx>
#include <sot/storinfo.hxx> #include <sot/storinfo.hxx>
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
class Storage; namespace com { namespace sun { namespace star { namespace ucb { class XProgressHandler; } } } }
class StorageStream; namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
class StgIo; class StgIo;
class StgDirEntry; class StgDirEntry;
class StgStrm;
class SvGlobalName;
typedef struct SvGUID ClsId; typedef struct SvGUID ClsId;
class SOT_DLLPUBLIC StorageBase : public SvRefBase class SOT_DLLPUBLIC StorageBase : public SvRefBase
......
...@@ -20,18 +20,19 @@ ...@@ -20,18 +20,19 @@
#ifndef INCLUDED_SOT_STORAGE_HXX #ifndef INCLUDED_SOT_STORAGE_HXX
#define INCLUDED_SOT_STORAGE_HXX #define INCLUDED_SOT_STORAGE_HXX
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/embed/XStorage.hpp>
#include <sot/object.hxx> #include <sot/object.hxx>
#include <tools/stream.hxx> #include <tools/stream.hxx>
#include <tools/globname.hxx>
#include <vcl/errcode.hxx> #include <vcl/errcode.hxx>
#include <sot/storinfo.hxx> #include <sot/storinfo.hxx>
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
namespace com { namespace sun { namespace star { namespace embed { class XStorage; } } } }
namespace com { namespace sun { namespace star { namespace uno { class Any; } } } }
namespace com { namespace sun { namespace star { namespace uno { template <typename > class Reference; } } } }
enum class SotClipboardFormatId : sal_uInt32; enum class SotClipboardFormatId : sal_uInt32;
class SotStorage;
class BaseStorageStream; class BaseStorageStream;
class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream class SOT_DLLPUBLIC SotStorageStream : virtual public SotObject, public SvStream
{ {
......
...@@ -20,13 +20,15 @@ ...@@ -20,13 +20,15 @@
#ifndef INCLUDED_SOT_STORINFO_HXX #ifndef INCLUDED_SOT_STORINFO_HXX
#define INCLUDED_SOT_STORINFO_HXX #define INCLUDED_SOT_STORINFO_HXX
#include <tools/globname.hxx> #include <rtl/ustring.hxx>
#include <tools/solar.h> #include <tools/solar.h>
#include <vector> #include <vector>
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
#include <sot/exchange.hxx> #include <sot/formats.hxx>
class StgDirEntry; class StgDirEntry;
class SvStream;
class SvStorageInfo class SvStorageInfo
{ {
friend class SotStorage; friend class SotStorage;
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <tools/gen.hxx> #include <tools/gen.hxx>
#include <tools/link.hxx> #include <tools/link.hxx>
#include <tools/ref.hxx> #include <tools/ref.hxx>
#include <tools/solar.h>
#include <sot/formats.hxx> #include <sot/formats.hxx>
#include <sot/exchange.hxx> #include <sot/exchange.hxx>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
......
...@@ -21,6 +21,7 @@ ...@@ -21,6 +21,7 @@
#define INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX #define INCLUDED_SC_SOURCE_UI_INC_AREASAVE_HXX
#include <address.hxx> #include <address.hxx>
#include <tools/solar.h>
#include <vector> #include <vector>
......
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
#endif #endif
#include <sot/sotdllapi.h> #include <sot/sotdllapi.h>
#include <sot/exchange.hxx>
#include <sot/formats.hxx>
struct SotAction_Impl struct SotAction_Impl
{ {
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <comphelper/fileformat.h> #include <comphelper/fileformat.h>
#include <tools/globname.hxx> #include <tools/globname.hxx>
#include <tools/stream.hxx>
#include <com/sun/star/datatransfer/DataFlavor.hpp> #include <com/sun/star/datatransfer/DataFlavor.hpp>
#include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp> #include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp>
#include <com/sun/star/datatransfer/XTransferable.hpp> #include <com/sun/star/datatransfer/XTransferable.hpp>
......
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
#include <sal/config.h> #include <sal/config.h>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XStream.hpp>
#include <com/sun/star/embed/XOLESimpleStorage.hpp> #include <com/sun/star/embed/XOLESimpleStorage.hpp>
#include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/lang/XComponent.hpp> #include <com/sun/star/lang/XComponent.hpp>
......
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