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

tdf#42949 Fix IWYU warnings in store/source/*

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

Change-Id: I99f1611f41378a0baa7688db5a5f78e0169f0d5b
Reviewed-on: https://gerrit.libreoffice.org/65649
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 74b30472
---
assumeFilename: store/source/storbase.cxx
blacklist:
store/source/storbase.hxx:
# Needed for OSL_BIGENDIAN macro
- osl/endian.h
store/source/stordir.hxx:
# Checking other file gives this
- namespace store { struct OStoreDirectoryPageData; }
store/source/storlckb.hxx:
# Checking other file gives this
- namespace store { struct OStoreDataPageData; }
- namespace store { struct OStoreDirectoryPageData; }
store/source/storpage.hxx:
# Checking other file gives this
- namespace store { struct OStoreDirectoryPageData; }
- namespace store { class OStoreDirectoryPageObject; }
......@@ -23,7 +23,6 @@
#include <osl/diagnose.h>
#include <osl/file.h>
#include <osl/process.h>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
#include <sal/log.hxx>
......
......@@ -26,13 +26,14 @@
#include <sal/types.h>
#include <rtl/ref.hxx>
#include <rtl/ustring.h>
#include <salhelper/simplereferenceobject.hxx>
#include <store/types.h>
#include "storbase.hxx"
namespace rtl { template <class reference_type> class Reference; }
namespace store
{
......
......@@ -21,7 +21,6 @@
#define INCLUDED_STORE_SOURCE_OBJECT_HXX
#include <sal/types.h>
#include <osl/interlck.h>
#include <salhelper/simplereferenceobject.hxx>
namespace store
......
......@@ -25,7 +25,6 @@
#include <sal/types.h>
#include <rtl/alloc.h>
#include <rtl/crc.h>
#include <rtl/ref.hxx>
......@@ -35,8 +34,6 @@
#include <store/types.h>
#include <memory>
#include <stddef.h>
#include <string.h>
#include <utility>
/** @file store common internals.
......@@ -518,8 +515,6 @@ public:
}
};
class OStorePageBIOS;
class OStorePageObject
{
typedef PageData page;
......
......@@ -22,7 +22,6 @@
#include "storbios.hxx"
#include <sal/types.h>
#include <sal/macros.h>
#include <sal/log.hxx>
#include <rtl/alloc.h>
......@@ -32,7 +31,6 @@
#include <osl/mutex.hxx>
#include <store/types.h>
#include "object.hxx"
#include "lockbyte.hxx"
#include "storcach.hxx"
......
......@@ -26,13 +26,13 @@
#include <store/types.h>
#include "object.hxx"
#include "lockbyte.hxx"
#include "storbase.hxx"
#include "storcach.hxx"
namespace store
{
class ILockBytes;
class PageCache;
struct SuperBlockPage;
class OStorePageBIOS : public store::OStoreObject
......
......@@ -28,11 +28,10 @@
#include <osl/diagnose.h>
#include <store/types.h>
#include "object.hxx"
#include "storbase.hxx"
#include <memory>
#include <stddef.h>
#include <string.h>
using namespace store;
......
......@@ -25,12 +25,13 @@
#include <memory>
#include <sal/types.h>
#include <rtl/ref.hxx>
#include <store/types.h>
#include "storbase.hxx"
#include "object.hxx"
namespace rtl { template <class reference_type> class Reference; }
namespace store { struct PageData; }
namespace store
{
......
......@@ -25,15 +25,17 @@
#include <memory>
#include <sal/types.h>
#include <sal/macros.h>
#include <rtl/string.h>
#include <store/types.h>
#include "storbase.hxx"
#include <string.h>
namespace store
{
class OStorePageBIOS;
constexpr sal_uInt32 STORE_MAGIC_DATAPAGE(0x94190310);
struct OStoreDataPageData : public store::PageData
......
......@@ -23,11 +23,11 @@
#include <rtl/textcvt.h>
#include <rtl/ref.hxx>
#include <rtl/ustring.h>
#include <osl/mutex.hxx>
#include <store/types.h>
#include "object.hxx"
#include "storbase.hxx"
#include "stordata.hxx"
......
......@@ -28,11 +28,11 @@
#include "object.hxx"
#include "storbase.hxx"
#include "storpage.hxx"
namespace store
{
class OStorePageManager;
struct OStoreDirectoryPageData;
class OStoreDirectory_Impl : public store::OStoreObject
......
......@@ -20,13 +20,11 @@
#include "storlckb.hxx"
#include <sal/types.h>
#include <sal/macros.h>
#include <rtl/string.h>
#include <rtl/ref.hxx>
#include <osl/mutex.hxx>
#include <store/types.h>
#include "object.hxx"
#include "storbase.hxx"
#include "stordata.hxx"
......
......@@ -22,16 +22,16 @@
#include <sal/types.h>
#include <rtl/ustring.h>
#include <rtl/string.h>
#include <rtl/ref.hxx>
#include "object.hxx"
#include "storbase.hxx"
#include "storpage.hxx"
namespace store
{
class OStorePageManager;
struct OStoreDataPageData;
struct OStoreDirectoryPageData;
......
......@@ -22,14 +22,10 @@
#include <sal/types.h>
#include <sal/log.hxx>
#include <rtl/string.h>
#include <rtl/ref.hxx>
#include <osl/mutex.hxx>
#include <store/types.h>
#include "object.hxx"
#include "lockbyte.hxx"
#include "storbase.hxx"
#include "stordata.hxx"
#include "stortree.hxx"
......
......@@ -21,9 +21,9 @@
#define INCLUDED_STORE_SOURCE_STORPAGE_HXX
#include <sal/types.h>
#include <rtl/string.h>
#include "object.hxx"
#include "lockbyte.hxx"
#include "storbase.hxx"
#include "storbios.hxx"
......@@ -32,6 +32,7 @@
namespace store
{
class ILockBytes;
struct OStoreDirectoryPageData;
class OStoreDirectoryPageObject;
......
......@@ -20,6 +20,7 @@
#include <sal/config.h>
#include <memory>
#include <string.h>
#include "stortree.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