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

tdf#42949 Fix IWYU warnings in registry/

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

Change-Id: I819bb44e36bdb6ec671cf11bd779085767d82fd0
Reviewed-on: https://gerrit.libreoffice.org/67697
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst d9f9a9e5
---
assumeFilename: registry/source/registry.cxx
blacklist:
registry/source/regimpl.hxx:
# Needed for correct linker visibility
- regapi.hxx
registry/source/reflwrit.cxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
# Needed for correct linker visibility
- registry/writer.h
registry/source/reflread.cxx:
# OSL_BIGENDIAN is being checked
- osl/endian.h
# Needed for correct linker visibility
- registry/typereg_reader.hxx
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_REGISTRY_INC_REGAPI_HXX
#define INCLUDED_REGISTRY_INC_REGAPI_HXX
#include <stddef.h>
#include <rtl/ustring.h>
#include <registry/regtype.h>
#include <registry/regdllapi.h>
......
......@@ -20,7 +20,6 @@
#ifndef INCLUDED_REGISTRY_SOURCE_KEYIMPL_HXX
#define INCLUDED_REGISTRY_SOURCE_KEYIMPL_HXX
#include <regapi.hxx>
#include "regimpl.hxx"
#include <rtl/ustring.hxx>
......
......@@ -20,8 +20,7 @@
#ifndef INCLUDED_REGISTRY_SOURCE_REFLCNST_HXX
#define INCLUDED_REGISTRY_SOURCE_REFLCNST_HXX
#include <registry/refltype.hxx>
#include <sal/macros.h>
#include <registry/types.hxx>
#include <string.h>
......
......@@ -24,7 +24,6 @@
#include <new>
#include <vector>
#include <string.h>
#include <sal/types.h>
#include <osl/endian.h>
#include <osl/diagnose.h>
......
......@@ -21,7 +21,6 @@
#define INCLUDED_REGISTRY_SOURCE_REFLREAD_HXX
#include <registry/refltype.hxx>
#include <registry/regtype.h>
#include <rtl/ustring.hxx>
/// Implememetation handle
......
......@@ -22,13 +22,12 @@
#include <memory>
#include <algorithm>
#include <sal/types.h>
#include <sal/macros.h>
#include <osl/endian.h>
#include <rtl/alloc.h>
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include "reflwrit.hxx"
#include <registry/refltype.hxx>
#include <registry/version.h>
#include <registry/writer.h>
......
......@@ -20,10 +20,11 @@
#ifndef INCLUDED_REGISTRY_SOURCE_REFLWRIT_HXX
#define INCLUDED_REGISTRY_SOURCE_REFLWRIT_HXX
#include <registry/refltype.hxx>
#include <registry/regtype.h>
#include <registry/types.hxx>
#include <rtl/ustring.hxx>
class RTConstValue;
/// Implememetation handle
typedef void* TypeWriterImpl;
......
......@@ -21,6 +21,7 @@
#include "regimpl.hxx"
#include <memory>
#include <set>
#include <vector>
#include <string.h>
#include <stdio.h>
......@@ -36,13 +37,11 @@
#include <registry/reader.hxx>
#include <registry/refltype.hxx>
#include <registry/types.hxx>
#include <registry/version.h>
#include "reflcnst.hxx"
#include "keyimpl.hxx"
#include <osl/thread.h>
#include <rtl/alloc.h>
#include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/file.hxx>
......
......@@ -20,10 +20,10 @@
#ifndef INCLUDED_REGISTRY_SOURCE_REGIMPL_HXX
#define INCLUDED_REGISTRY_SOURCE_REGIMPL_HXX
#include <set>
#include <unordered_map>
#include <regapi.hxx>
#include <registry/regtype.h>
#include <rtl/ustring.hxx>
#include <osl/mutex.hxx>
#include <store/store.hxx>
......
......@@ -18,11 +18,8 @@
*/
#include <regapi.hxx>
#include <registry/registry.hxx>
#include <osl/process.h>
#include "keyimpl.hxx"
#include "regimpl.hxx"
#include "regkey.hxx"
......@@ -31,12 +28,6 @@
#include <io.h>
#endif
#include <string.h>
#if defined(UNX)
#include <stdlib.h>
#include <unistd.h>
#endif
extern "C" {
......
......@@ -20,8 +20,6 @@
#include "regkey.hxx"
#include <registry/registry.hxx>
#include <rtl/alloc.h>
#include <osl/diagnose.h>
#include "regimpl.hxx"
#include "keyimpl.hxx"
......
......@@ -20,7 +20,6 @@
#include "fileurl.hxx"
#include <rtl/ustring.hxx>
#include <osl/diagnose.h>
#include <osl/file.hxx>
#include <osl/process.h>
#include <osl/thread.h>
......
......@@ -22,7 +22,6 @@
#include <osl/diagnose.h>
#include <stdio.h>
#include <string.h>
namespace registry
{
......
......@@ -23,8 +23,6 @@
#include <string>
#include <vector>
#include <sal/types.h>
namespace registry
{
namespace tools
......
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