tdf#42949 Fix IWYU warnings in sax/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I793b7996c019b694e70569bc37f89e5b089e3296 Reviewed-on: https://gerrit.libreoffice.org/79078 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
parent
202bee1a81
commit
4d96090809
12 changed files with 9 additions and 28 deletions
2
sax/IwyuFilter_sax.yaml
Normal file
2
sax/IwyuFilter_sax.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
assumeFilename: sax/source/fastparser/fastparser.cxx
|
|
@ -25,6 +25,9 @@
|
|||
#include <memory>
|
||||
|
||||
#include <sal/types.h>
|
||||
#include <rtl/string.hxx>
|
||||
|
||||
#include <com/sun/star/io/XInputStream.hpp>
|
||||
|
||||
namespace sax_expatwrap {
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
#include <com/sun/star/util/DateTime.hpp>
|
||||
#include <com/sun/star/util/Date.hpp>
|
||||
#include <com/sun/star/util/Duration.hpp>
|
||||
#include <com/sun/star/util/MeasureUnit.hpp>
|
||||
|
||||
|
|
|
@ -22,31 +22,23 @@
|
|||
#include <cppunit/extensions/HelperMacros.h>
|
||||
#include <cppunit/plugin/TestPlugIn.h>
|
||||
#include <test/bootstrapfixture.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/beans/Pair.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXException.hpp>
|
||||
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
|
||||
#include <com/sun/star/xml/sax/XFastDocumentHandler.hpp>
|
||||
#include <com/sun/star/xml/sax/XFastAttributeList.hpp>
|
||||
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <com/sun/star/xml/sax/Parser.hpp>
|
||||
#include <com/sun/star/xml/sax/XParser.hpp>
|
||||
#include <com/sun/star/xml/sax/FastParser.hpp>
|
||||
#include <com/sun/star/xml/sax/XFastParser.hpp>
|
||||
#include <com/sun/star/xml/sax/XLocator.hpp>
|
||||
#include <com/sun/star/io/XOutputStream.hpp>
|
||||
#include <com/sun/star/xml/sax/FastToken.hpp>
|
||||
#include <com/sun/star/xml/Attribute.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <osl/file.hxx>
|
||||
#include <osl/conditn.hxx>
|
||||
#include <unotools/ucbstreamhelper.hxx>
|
||||
#include <unotools/streamwrap.hxx>
|
||||
#include <sax/fastattribs.hxx>
|
||||
#include <string>
|
||||
#include <stack>
|
||||
#include <deque>
|
||||
#include <sax/fastparser.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* except in compliance with the License. You may obtain a copy of
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <cassert>
|
||||
#include <memory>
|
||||
|
|
|
@ -28,13 +28,9 @@
|
|||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/util/XCloneable.hpp>
|
||||
#include <com/sun/star/xml/sax/XParser.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXParseException.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXInvalidCharacterException.hpp>
|
||||
#include <com/sun/star/xml/sax/XWriter.hpp>
|
||||
|
||||
#include <com/sun/star/io/XActiveDataSource.hpp>
|
||||
|
||||
#include <cppuhelper/exc_hlp.hxx>
|
||||
#include <cppuhelper/weak.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
@ -42,8 +38,6 @@
|
|||
|
||||
#include <osl/diagnose.h>
|
||||
#include <rtl/character.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
using namespace ::std;
|
||||
using namespace ::osl;
|
||||
|
@ -54,7 +48,6 @@ using namespace ::com::sun::star::xml::sax;
|
|||
using namespace ::com::sun::star::util;
|
||||
using namespace ::com::sun::star::io;
|
||||
|
||||
#include <xml2utf.hxx>
|
||||
#include <memory>
|
||||
|
||||
#define LINEFEED 10
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#include <sax/fastattribs.hxx>
|
||||
#include <xml2utf.hxx>
|
||||
|
||||
#include <com/sun/star/io/IOException.hpp>
|
||||
#include <com/sun/star/io/XSeekable.hpp>
|
||||
#include <com/sun/star/lang/DisposedException.hpp>
|
||||
#include <com/sun/star/lang/IllegalArgumentException.hpp>
|
||||
|
|
|
@ -20,14 +20,12 @@
|
|||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/xml/sax/XParser.hpp>
|
||||
#include <com/sun/star/xml/sax/FastParser.hpp>
|
||||
#include <com/sun/star/xml/sax/FastToken.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/beans/Pair.hpp>
|
||||
#include <comphelper/attributelist.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
#include <sax/fastparser.hxx>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
|
||||
#include <cstring>
|
||||
#include <cstdlib>
|
||||
#include <memory>
|
||||
|
||||
namespace sax_fastparser {
|
||||
|
|
|
@ -22,11 +22,8 @@
|
|||
#include <com/sun/star/i18n/UnicodeType.hpp>
|
||||
#include <com/sun/star/util/DateTime.hpp>
|
||||
#include <com/sun/star/util/Date.hpp>
|
||||
#include <com/sun/star/util/DateTimeWithTimezone.hpp>
|
||||
#include <com/sun/star/util/DateWithTimezone.hpp>
|
||||
#include <com/sun/star/util/Duration.hpp>
|
||||
#include <com/sun/star/util/Time.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "fastserializer.hxx"
|
||||
|
||||
#include <com/sun/star/xml/sax/FastTokenHandler.hpp>
|
||||
#include <rtl/math.hxx>
|
||||
#include <rtl/math.h>
|
||||
#include <sal/log.hxx>
|
||||
#include <comphelper/processfactory.hxx>
|
||||
#include <comphelper/sequence.hxx>
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
#include <sax/fshelper.hxx>
|
||||
#include "fastserializer.hxx"
|
||||
#include <com/sun/star/xml/sax/XFastTokenHandler.hpp>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
|
||||
using namespace ::com::sun::star;
|
||||
using namespace ::com::sun::star::uno;
|
||||
|
|
Loading…
Reference in a new issue