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

tdf#42949 Fix IWYU warnings in include/formula/

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

Change-Id: I564e3dd53e7718326fc1e8b98c9ae3367381703c
Reviewed-on: https://gerrit.libreoffice.org/70550
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.com>
üst 3bd5a397
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <formula/FormulaOpCodeMapperObj.hxx> #include <formula/FormulaOpCodeMapperObj.hxx>
#include <formula/opcode.hxx> #include <formula/opcode.hxx>
#include <cppuhelper/supportsservice.hxx> #include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
namespace formula namespace formula
{ {
......
...@@ -920,6 +920,19 @@ blacklist: ...@@ -920,6 +920,19 @@ blacklist:
- com/sun/star/awt/FontDescriptor.hpp - com/sun/star/awt/FontDescriptor.hpp
- com/sun/star/style/LineSpacing.hpp - com/sun/star/style/LineSpacing.hpp
- com/sun/star/style/TabStop.hpp - com/sun/star/style/TabStop.hpp
include/formula/FormulaOpCodeMapperObj.hxx:
# base class has to be a complete type
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/sheet/XFormulaOpCodeMapper.hpp
include/formula/paramclass.hxx:
# Needed for enum type
- sal/types.h
include/formula/opcode.hxx:
# Needed for enum type
- sal/types.h
include/formula/tokenarray.hxx:
# Needed to avoid linking errors on WIN
- formula/ExternalReferenceHelper.hxx
include/svx/AccessibleControlShape.hxx: include/svx/AccessibleControlShape.hxx:
# base class has to be a complete type # base class has to be a complete type
- com/sun/star/beans/XPropertyChangeListener.hpp - com/sun/star/beans/XPropertyChangeListener.hpp
......
...@@ -28,13 +28,11 @@ ...@@ -28,13 +28,11 @@
#include <formula/formuladllapi.h> #include <formula/formuladllapi.h>
#include <formula/grammar.hxx> #include <formula/grammar.hxx>
#include <formula/opcode.hxx> #include <formula/opcode.hxx>
#include <formula/token.hxx>
#include <formula/tokenarray.hxx> #include <formula/tokenarray.hxx>
#include <formula/types.hxx> #include <formula/types.hxx>
#include <formula/paramclass.hxx> #include <formula/paramclass.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <sal/log.hxx>
#include <sal/types.h> #include <sal/types.h>
#include <tools/debug.hxx> #include <tools/debug.hxx>
......
...@@ -20,13 +20,10 @@ ...@@ -20,13 +20,10 @@
#ifndef INCLUDED_FORMULA_FORMULAOPCODEMAPPEROBJ_HXX #ifndef INCLUDED_FORMULA_FORMULAOPCODEMAPPEROBJ_HXX
#define INCLUDED_FORMULA_FORMULAOPCODEMAPPEROBJ_HXX #define INCLUDED_FORMULA_FORMULAOPCODEMAPPEROBJ_HXX
#include <exception>
#include <memory> #include <memory>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/RuntimeException.hpp>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/sheet/XFormulaOpCodeMapper.hpp> #include <com/sun/star/sheet/XFormulaOpCodeMapper.hpp>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <com/sun/star/table/CellAddress.hpp> #include <com/sun/star/table/CellAddress.hpp>
#include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <rtl/string.hxx> #include <rtl/string.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <sal/types.h> #include <sal/types.h>
...@@ -36,6 +35,8 @@ namespace com { namespace sun { namespace star { ...@@ -36,6 +35,8 @@ namespace com { namespace sun { namespace star {
namespace sheet { class XFormulaParser; } namespace sheet { class XFormulaParser; }
} } } } } }
namespace com::sun::star::uno { template <class E> class Sequence; }
namespace formula namespace formula
{ {
class IFunctionCategory; class IFunctionCategory;
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <tools/link.hxx> #include <tools/link.hxx>
#include <vcl/dialog.hxx> #include <vcl/dialog.hxx>
class Idle;
class NotifyEvent; class NotifyEvent;
class SfxBindings; class SfxBindings;
class SfxChildWindow; class SfxChildWindow;
......
...@@ -33,10 +33,6 @@ ...@@ -33,10 +33,6 @@
class KeyEvent; class KeyEvent;
namespace vcl {
class Window;
}
namespace formula { namespace formula {
class IControlReferenceHandler; class IControlReferenceHandler;
......
...@@ -27,7 +27,6 @@ ...@@ -27,7 +27,6 @@
#include <vector> #include <vector>
#include <formula/formuladllapi.h> #include <formula/formuladllapi.h>
#include <formula/IFunctionDescription.hxx>
#include <formula/opcode.hxx> #include <formula/opcode.hxx>
#include <formula/types.hxx> #include <formula/types.hxx>
#include <formula/paramclass.hxx> #include <formula/paramclass.hxx>
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <unordered_map> #include <unordered_map>
#include <vector> #include <vector>
#include <com/sun/star/uno/Sequence.hxx>
#include <formula/ExternalReferenceHelper.hxx> #include <formula/ExternalReferenceHelper.hxx>
#include <formula/formuladllapi.h> #include <formula/formuladllapi.h>
#include <formula/opcode.hxx> #include <formula/opcode.hxx>
...@@ -41,6 +40,9 @@ namespace com { namespace sun { namespace star { ...@@ -41,6 +40,9 @@ namespace com { namespace sun { namespace star {
namespace sheet { struct FormulaToken; } namespace sheet { struct FormulaToken; }
} } } } } }
namespace com::sun::star::uno { template <typename > class Sequence; }
namespace formula { class FormulaTokenArray; }
namespace svl { namespace svl {
class SharedString; class SharedString;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <formula/formuladllapi.h> #include <formula/formuladllapi.h>
#include <formula/token.hxx> #include <formula/token.hxx>
#include <rtl/ustring.hxx> #include <rtl/ustring.h>
namespace formula { namespace formula {
......
...@@ -28,7 +28,6 @@ ...@@ -28,7 +28,6 @@
#include <svx/svdtext.hxx> #include <svx/svdtext.hxx>
#include <svx/svdotext.hxx> #include <svx/svdotext.hxx>
#include <vcl/sound.hxx> #include <vcl/sound.hxx>
#include <vcl/svapp.hxx>
#include <drawdoc.hxx> #include <drawdoc.hxx>
#include <DrawDocShell.hxx> #include <DrawDocShell.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