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

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

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

Change-Id: I8061ef6a7a8c04baf350844fae1f97836ac03554
Reviewed-on: https://gerrit.libreoffice.org/62399
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 02a2b755
...@@ -262,3 +262,14 @@ blacklist: ...@@ -262,3 +262,14 @@ blacklist:
- com/sun/star/io/XOutputStream.hpp - com/sun/star/io/XOutputStream.hpp
- com/sun/star/io/XStream.hpp - com/sun/star/io/XStream.hpp
- com/sun/star/io/XTruncate.hpp - com/sun/star/io/XTruncate.hpp
include/sax/fshelper.hxx:
# base class has to be a complete type
- com/sun/star/xml/sax/XFastAttributeList.hpp
include/sax/fastattribs.hxx:
# base class has to be a complete type
- com/sun/star/xml/sax/XFastAttributeList.hpp
include/sax/fastparser.hxx:
# base class has to be a complete type
- com/sun/star/lang/XInitialization.hpp
- com/sun/star/lang/XServiceInfo.hpp
- com/sun/star/xml/sax/XFastParser.hpp
...@@ -21,16 +21,16 @@ ...@@ -21,16 +21,16 @@
#define INCLUDED_SAX_FASTATTRIBS_HXX #define INCLUDED_SAX_FASTATTRIBS_HXX
#include <com/sun/star/xml/sax/XFastAttributeList.hpp> #include <com/sun/star/xml/sax/XFastAttributeList.hpp>
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <com/sun/star/xml/Attribute.hpp>
#include <com/sun/star/xml/FastAttribute.hpp>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <sax/saxdllapi.h> #include <sax/saxdllapi.h>
#include <map>
#include <vector> #include <vector>
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XFastTokenHandler; } } } } }
namespace com { namespace sun { namespace star { namespace xml { struct Attribute; } } } }
namespace com { namespace sun { namespace star { namespace xml { struct FastAttribute; } } } }
namespace sax_fastparser namespace sax_fastparser
{ {
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <com/sun/star/xml/sax/XFastParser.hpp> #include <com/sun/star/xml/sax/XFastParser.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/lang/XServiceInfo.hpp>
#include <cppuhelper/weak.hxx>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XInitialization.hpp>
...@@ -31,7 +30,6 @@ ...@@ -31,7 +30,6 @@
namespace com { namespace sun { namespace star { namespace xml { namespace sax { namespace com { namespace sun { namespace star { namespace xml { namespace sax {
class XFastContextHandler;
class XFastDocumentHandler; class XFastDocumentHandler;
class XFastTokenHandler; class XFastTokenHandler;
......
...@@ -20,12 +20,16 @@ ...@@ -20,12 +20,16 @@
#ifndef INCLUDED_SAX_FSHELPER_HXX #ifndef INCLUDED_SAX_FSHELPER_HXX
#define INCLUDED_SAX_FSHELPER_HXX #define INCLUDED_SAX_FSHELPER_HXX
#include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/xml/sax/XFastAttributeList.hpp>
#include <sax/fastattribs.hxx> #include <com/sun/star/uno/Reference.hxx>
#include <stdarg.h> #include <com/sun/star/uno/Sequence.hxx>
#include <sax/saxdllapi.h>
#include <memory> #include <memory>
#include <utility> #include <utility>
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
namespace sax_fastparser { class FastAttributeList; }
#define FSNS(namespc, element) ((namespc << 16) | element) #define FSNS(namespc, element) ((namespc << 16) | element)
// Backwards compatibility for code that used FSEND to terminate the vararg. // Backwards compatibility for code that used FSEND to terminate the vararg.
// As soon as no supported LO version has the varargs code, this can be removed entirely // As soon as no supported LO version has the varargs code, this can be removed entirely
......
...@@ -25,7 +25,6 @@ ...@@ -25,7 +25,6 @@
#include <sal/types.h> #include <sal/types.h>
#include <rtl/ustring.hxx> #include <rtl/ustring.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/util/MeasureUnit.hpp> #include <com/sun/star/util/MeasureUnit.hpp>
#include <tools/color.hxx> #include <tools/color.hxx>
...@@ -38,8 +37,6 @@ namespace com { namespace sun { namespace star { ...@@ -38,8 +37,6 @@ namespace com { namespace sun { namespace star {
namespace util { namespace util {
struct Date; struct Date;
struct DateTime; struct DateTime;
struct DateWithTimezone;
struct DateTimeWithTimezone;
struct Duration; struct Duration;
} }
} } } } } }
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
#ifndef INCLUDED_SAX_TOOLS_DOCUMENTHANDLERADAPTER_HXX #ifndef INCLUDED_SAX_TOOLS_DOCUMENTHANDLERADAPTER_HXX
#define INCLUDED_SAX_TOOLS_DOCUMENTHANDLERADAPTER_HXX #define INCLUDED_SAX_TOOLS_DOCUMENTHANDLERADAPTER_HXX
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp> #include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
#include <oox/drawingml/drawingmltypes.hxx> #include <oox/drawingml/drawingmltypes.hxx>
#include <svtools/unitconv.hxx> #include <svtools/unitconv.hxx>
#include <sax/fastattribs.hxx>
#include <cstdio> #include <cstdio>
#include <com/sun/star/awt/CharSet.hpp> #include <com/sun/star/awt/CharSet.hpp>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <svl/itemset.hxx> #include <svl/itemset.hxx>
#include <oox/export/drawingml.hxx> #include <oox/export/drawingml.hxx>
#include <oox/export/vmlexport.hxx> #include <oox/export/vmlexport.hxx>
#include <sax/fastattribs.hxx>
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <algorithm> #include <algorithm>
#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/SAXException.hpp>
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
#include <sax/fastattribs.hxx> #include <sax/fastattribs.hxx>
using namespace ::com::sun::star::uno; using namespace ::com::sun::star::uno;
......
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <editeng/brushitem.hxx> #include <editeng/brushitem.hxx>
#include <oox/export/utils.hxx> #include <oox/export/utils.hxx>
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
#include <sax/fastattribs.hxx>
#include <document.hxx> #include <document.hxx>
#include <stlpool.hxx> #include <stlpool.hxx>
#include <stlsheet.hxx> #include <stlsheet.hxx>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <oox/export/utils.hxx> #include <oox/export/utils.hxx>
#include <oox/token/namespaces.hxx> #include <oox/token/namespaces.hxx>
#include <sax/tools/converter.hxx> #include <sax/tools/converter.hxx>
#include <sax/fastattribs.hxx>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp> #include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <com/sun/star/sheet/DataPilotFieldLayoutMode.hpp> #include <com/sun/star/sheet/DataPilotFieldLayoutMode.hpp>
......
...@@ -145,6 +145,7 @@ ...@@ -145,6 +145,7 @@
#include <com/sun/star/embed/EmbedStates.hpp> #include <com/sun/star/embed/EmbedStates.hpp>
#include <algorithm> #include <algorithm>
#include <stdarg.h>
using ::editeng::SvxBorderLine; using ::editeng::SvxBorderLine;
......
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
#include <oox/token/tokens.hxx> #include <oox/token/tokens.hxx>
#include <comphelper/sequenceashashmap.hxx> #include <comphelper/sequenceashashmap.hxx>
#include <o3tl/make_unique.hxx> #include <o3tl/make_unique.hxx>
#include <sax/fastattribs.hxx>
#include <boost/optional.hpp> #include <boost/optional.hpp>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include <set> #include <set>
#include <memory> #include <memory>
#include <map>
#include <libxml/tree.h> #include <libxml/tree.h>
......
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