Recheck include/[e-r]* with IWYU
See tdf#42949 for motivation Change-Id: I44e4e3a88067c1c29ce9d563b22741e984b43576 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126964 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
committed by
Miklos Vajna
parent
309c8bd4fc
commit
807f238f12
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
#include <sal/macros.h>
|
||||
#include <sal/log.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <formula/FormulaCompiler.hxx>
|
||||
#include <formula/errorcodes.hxx>
|
||||
#include <formula/token.hxx>
|
||||
|
||||
@@ -43,6 +43,10 @@ excludelist:
|
||||
include/android/compatibility.hxx:
|
||||
# TODO check whether actually needed, just silence this for now
|
||||
- math.h
|
||||
include/LibreOfficeKit/LibreOfficeKit.h:
|
||||
# the unstable API needs C99's bool
|
||||
- stdbool.h
|
||||
- stdint.h
|
||||
include/sfx2/toolbarids.hxx:
|
||||
# needed for enum definition
|
||||
- sal/types.h
|
||||
@@ -233,6 +237,9 @@ excludelist:
|
||||
include/o3tl/make_shared.hxx:
|
||||
# Needed for __COVERITY__
|
||||
- o3tl/deleter.hxx
|
||||
include/o3tl/safeint.hxx:
|
||||
# Needed for std::min
|
||||
- algorithm
|
||||
include/sot/exchange.hxx:
|
||||
# Used in a macro #define
|
||||
- com/sun/star/datatransfer/dnd/DNDConstants.hpp
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#ifndef INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
|
||||
#define INCLUDED_LIBREOFFICEKIT_LIBREOFFICEKIT_TYPES_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#ifndef INCLUDED_EDITENG_EDITUND2_HXX
|
||||
#define INCLUDED_EDITENG_EDITUND2_HXX
|
||||
|
||||
#include <config_options.h>
|
||||
#include <editeng/editengdllapi.h>
|
||||
#include <svl/undo.hxx>
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
#ifndef INCLUDED_EDITENG_EDITVIEW_HXX
|
||||
#define INCLUDED_EDITENG_EDITVIEW_HXX
|
||||
|
||||
#include <config_options.h>
|
||||
#include <memory>
|
||||
#include <com/sun/star/i18n/WordType.hpp>
|
||||
|
||||
|
||||
@@ -20,12 +20,10 @@
|
||||
#ifndef INCLUDED_EDITENG_OVERFLOWINGTXT_HXX
|
||||
#define INCLUDED_EDITENG_OVERFLOWINGTXT_HXX
|
||||
|
||||
#include <config_options.h>
|
||||
#include <editeng/editengdllapi.h>
|
||||
#include <editeng/editdata.hxx>
|
||||
|
||||
#include <com/sun/star/uno/Reference.h>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace com::sun::star {
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <tools/gen.hxx>
|
||||
#include <tools/poly.hxx>
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
namespace basegfx {
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include <editeng/editengdllapi.h>
|
||||
#include <editeng/editdata.hxx>
|
||||
#include <svl/itemset.hxx>
|
||||
#include <memory>
|
||||
#include <optional>
|
||||
|
||||
class Outliner;
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#include <editeng/editengdllapi.h>
|
||||
#include <svl/itemprop.hxx>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
namespace com::sun::star::beans { class XPropertySetInfo; }
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
#ifndef INCLUDED_EDITENG_UNONAMES_HXX
|
||||
#define INCLUDED_EDITENG_UNONAMES_HXX
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
// Common across fields
|
||||
inline constexpr OUStringLiteral UNO_TC_PROP_ANCHOR = u"Anchor";
|
||||
inline constexpr OUStringLiteral UNO_TC_PROP_TEXTFIELD_TYPE = u"TextFieldType";
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#include <svl/poolitem.hxx>
|
||||
#include <editeng/editengdllapi.h>
|
||||
#include <memory>
|
||||
#include <xmloff/xmlcnimp.hxx>
|
||||
|
||||
|
||||
|
||||
@@ -20,10 +20,10 @@
|
||||
#ifndef INCLUDED_FORMULA_ERRORCODES_HXX
|
||||
#define INCLUDED_FORMULA_ERRORCODES_HXX
|
||||
|
||||
#include <rtl/math.hxx>
|
||||
#include <sal/mathconf.h>
|
||||
#include <sal/types.h>
|
||||
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
|
||||
// Store as 16-bits, since error values are stored in tokens and formula results,
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
#ifndef INCLUDED_LINGUISTIC_LNGPROPS_HXX
|
||||
#define INCLUDED_LINGUISTIC_LNGPROPS_HXX
|
||||
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
// maximal number of suggestions to be returned in spelling context-menu
|
||||
// (may not include results added by looking up user dictionaries)
|
||||
inline constexpr OUStringLiteral UPN_MAX_NUMBER_OF_SUGGESTIONS = u"MaxNumberOfSuggestions";
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include <osl/interlck.h>
|
||||
|
||||
#include <optional>
|
||||
#include <utility>
|
||||
#include <cstddef>
|
||||
|
||||
namespace o3tl
|
||||
|
||||
@@ -9,6 +9,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <functional>
|
||||
#include <type_traits>
|
||||
|
||||
namespace o3tl
|
||||
{
|
||||
template <typename T, typename N>
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
#include <type_traits>
|
||||
|
||||
#include <rtl/ustring.h>
|
||||
|
||||
|
||||
@@ -20,8 +20,6 @@
|
||||
#ifndef INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
|
||||
#define INCLUDED_OOX_CORE_FRAGMENTHANDLER2_HXX
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
#include <oox/core/contexthandler.hxx>
|
||||
#include <oox/core/contexthandler2.hxx>
|
||||
|
||||
@@ -32,7 +32,6 @@
|
||||
#include <com/sun/star/uno/Reference.hxx>
|
||||
#include <o3tl/unit_conversion.hxx>
|
||||
#include <oox/dllapi.h>
|
||||
#include <oox/helper/helper.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <sal/types.h>
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
#include <svx/msdffdef.hxx>
|
||||
#include <vcl/checksum.hxx>
|
||||
#include <tools/gen.hxx>
|
||||
#include <tools/color.hxx>
|
||||
#include <vcl/mapmod.hxx>
|
||||
|
||||
class Graphic;
|
||||
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <rtl/string.hxx>
|
||||
#include <sal/types.h>
|
||||
|
||||
#include <cmath>
|
||||
|
||||
inline OString I32SHEX(sal_Int32 x)
|
||||
{
|
||||
OString aStr = OString::number(x, 16);
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include <oox/drawingml/drawingmltypes.hxx>
|
||||
#include <oox/drawingml/theme.hxx>
|
||||
#include <oox/ppt/slidepersist.hxx>
|
||||
#include <oox/ppt/pptshape.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <sal/types.h>
|
||||
|
||||
|
||||
@@ -23,8 +23,6 @@
|
||||
#include <oox/drawingml/graphicshapecontext.hxx>
|
||||
#include <oox/core/fragmenthandler2.hxx>
|
||||
#include <oox/core/xmlfilterbase.hxx>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/document/XDocumentProperties.hpp>
|
||||
#include <com/sun/star/graphic/XGraphicMapper.hpp>
|
||||
#include <com/sun/star/drawing/XDrawPage.hpp>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <oox/drawingml/drawingmltypes.hxx>
|
||||
#include <com/sun/star/graphic/XGraphicMapper.hpp>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <tools/color.hxx>
|
||||
|
||||
namespace oox::drawingml::table {
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <osl/diagnose.h>
|
||||
#include <basegfx/numeric/ftools.hxx>
|
||||
#include <oox/core/xmlfilterbase.hxx>
|
||||
#include <oox/helper/helper.hxx>
|
||||
#include <oox/token/properties.hxx>
|
||||
#include <oox/token/tokens.hxx>
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
#include <oox/drawingml/drawingmltypes.hxx>
|
||||
#include <oox/helper/helper.hxx>
|
||||
#include <oox/token/tokens.hxx>
|
||||
#include <svx/DiagramDataInterface.hxx>
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <cppunit/TestAssert.h>
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <rtl/math.hxx>
|
||||
#include <scdll.hxx>
|
||||
#include "helper/qahelper.hxx"
|
||||
#include <dpshttab.hxx>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <formula/errorcodes.hxx>
|
||||
#include <sal/log.hxx>
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
|
||||
#include <global.hxx>
|
||||
#include <rangeutl.hxx>
|
||||
|
||||
@@ -63,6 +63,7 @@
|
||||
#include <editeng/editobj.hxx>
|
||||
#include <svl/numformat.hxx>
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <sax/tools/converter.hxx>
|
||||
|
||||
#include <memory>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <cppuhelper/exc_hlp.hxx>
|
||||
#include <o3tl/any.hxx>
|
||||
#include <o3tl/unit_conversion.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <com/sun/star/script/ArrayWrapper.hpp>
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
#include <vcl/uitest/logger.hxx>
|
||||
#include <vcl/uitest/eventdescription.hxx>
|
||||
#include <editeng/editview.hxx>
|
||||
#include <rtl/math.hxx>
|
||||
#include <sal/log.hxx>
|
||||
|
||||
#include <viewfunc.hxx>
|
||||
|
||||
Reference in New Issue
Block a user