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

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

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

Change-Id: Iacc5b98b947a26ca920cb9c49e579bc61d69b0c9
Reviewed-on: https://gerrit.libreoffice.org/62119
Tested-by: Jenkins
Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst 8160d5db
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include <com/sun/star/script/provider/theMasterScriptProviderFactory.hpp> #include <com/sun/star/script/provider/theMasterScriptProviderFactory.hpp>
#include <com/sun/star/script/provider/XScriptProviderSupplier.hpp> #include <com/sun/star/script/provider/XScriptProviderSupplier.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp> #include <com/sun/star/script/provider/XScriptProvider.hpp>
#include <com/sun/star/io/XInputStreamProvider.hpp>
#include <basic/basicmanagerrepository.hxx> #include <basic/basicmanagerrepository.hxx>
#include <basic/basmgr.hxx> #include <basic/basmgr.hxx>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include <com/sun/star/xml/sax/Writer.hpp> #include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/io/XOutputStream.hpp> #include <com/sun/star/io/XOutputStream.hpp>
#include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XInputStreamProvider.hpp>
#include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/ElementModes.hpp>
#include <com/sun/star/ucb/XSimpleFileAccess2.hpp> #include <com/sun/star/ucb/XSimpleFileAccess2.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp> #include <com/sun/star/io/XActiveDataSource.hpp>
......
...@@ -20,14 +20,15 @@ ...@@ -20,14 +20,15 @@
#define INCLUDED_XMLSCRIPT_XML_HELPER_HXX #define INCLUDED_XMLSCRIPT_XML_HELPER_HXX
#include <vector> #include <vector>
#include <rtl/byteseq.hxx>
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
#include <xmlscript/xmlscriptdllapi.h> #include <xmlscript/xmlscriptdllapi.h>
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XDocumentHandler; } } } } }
namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XOutputStream; } } } }
namespace xmlscript namespace xmlscript
{ {
......
...@@ -19,16 +19,18 @@ ...@@ -19,16 +19,18 @@
#ifndef INCLUDED_XMLSCRIPT_XMLDLG_IMEXP_HXX #ifndef INCLUDED_XMLSCRIPT_XMLDLG_IMEXP_HXX
#define INCLUDED_XMLSCRIPT_XMLDLG_IMEXP_HXX #define INCLUDED_XMLSCRIPT_XMLDLG_IMEXP_HXX
#include <com/sun/star/frame/XModel.hpp> #include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/io/XInputStreamProvider.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <xmlscript/xmlns.h>
#include <xmlscript/xmlscriptdllapi.h> #include <xmlscript/xmlscriptdllapi.h>
namespace com { namespace sun { namespace star { namespace container { class XNameContainer; } } } }
namespace com { namespace sun { namespace star { namespace frame { class XModel; } } } }
namespace com { namespace sun { namespace star { namespace io { class XInputStream; } } } }
namespace com { namespace sun { namespace star { namespace io { class XInputStreamProvider; } } } }
namespace com { namespace sun { namespace star { namespace uno { class XComponentContext; } } } }
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XDocumentHandler; } } } } }
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XExtendedDocumentHandler; } } } } }
namespace xmlscript namespace xmlscript
{ {
......
...@@ -19,14 +19,15 @@ ...@@ -19,14 +19,15 @@
#ifndef INCLUDED_XMLSCRIPT_XMLLIB_IMEXP_HXX #ifndef INCLUDED_XMLSCRIPT_XMLLIB_IMEXP_HXX
#define INCLUDED_XMLSCRIPT_XMLLIB_IMEXP_HXX #define INCLUDED_XMLSCRIPT_XMLLIB_IMEXP_HXX
#include <com/sun/star/xml/sax/XWriter.hpp>
#include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Sequence.hxx>
#include <xmlscript/xmlns.h>
#include <xmlscript/xmlscriptdllapi.h> #include <xmlscript/xmlscriptdllapi.h>
#include <memory> #include <memory>
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XDocumentHandler; } } } } }
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XWriter; } } } } }
namespace xmlscript namespace xmlscript
{ {
......
...@@ -19,10 +19,13 @@ ...@@ -19,10 +19,13 @@
#ifndef INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX #ifndef INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX
#define INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX #define INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX
#include <com/sun/star/xml/sax/XWriter.hpp> #include <com/sun/star/uno/Reference.hxx>
#include <xmlscript/xmlns.h> #include <rtl/ustring.hxx>
#include <xmlscript/xmlscriptdllapi.h> #include <xmlscript/xmlscriptdllapi.h>
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XDocumentHandler; } } } } }
namespace com { namespace sun { namespace star { namespace xml { namespace sax { class XWriter; } } } } }
namespace xmlscript namespace xmlscript
{ {
......
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
#include <cppuhelper/implbase.hxx> #include <cppuhelper/implbase.hxx>
#include <xmlscript/xml_helper.hxx> #include <xmlscript/xml_helper.hxx>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XOutputStream.hpp>
using namespace osl; using namespace osl;
using namespace com::sun::star; using namespace com::sun::star;
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <xmlscript/xml_helper.hxx> #include <xmlscript/xml_helper.hxx>
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
using namespace com::sun::star; using namespace com::sun::star;
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp> #include <com/sun/star/io/XActiveDataSource.hpp>
#include <com/sun/star/io/XInputStreamProvider.hpp>
#include <com/sun/star/xml/sax/Parser.hpp> #include <com/sun/star/xml/sax/Parser.hpp>
#include <com/sun/star/xml/sax/Writer.hpp> #include <com/sun/star/xml/sax/Writer.hpp>
......
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
*/ */
#include "exp_share.hxx" #include "exp_share.hxx"
#include <xmlscript/xmlns.h>
#include <com/sun/star/container/XNameContainer.hpp>
#include <com/sun/star/form/binding/XListEntrySink.hpp> #include <com/sun/star/form/binding/XListEntrySink.hpp>
#include <com/sun/star/form/binding/XBindableValue.hpp> #include <com/sun/star/form/binding/XBindableValue.hpp>
#include <com/sun/star/form/binding/XValueBinding.hpp> #include <com/sun/star/form/binding/XValueBinding.hpp>
......
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
*/ */
#include "exp_share.hxx" #include "exp_share.hxx"
#include <xmlscript/xmlns.h>
#include <o3tl/any.hxx> #include <o3tl/any.hxx>
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
...@@ -66,6 +67,7 @@ ...@@ -66,6 +67,7 @@
#include <com/sun/star/document/GraphicStorageHandler.hpp> #include <com/sun/star/document/GraphicStorageHandler.hpp>
#include <com/sun/star/document/XGraphicStorageHandler.hpp> #include <com/sun/star/document/XGraphicStorageHandler.hpp>
#include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/graphic/XGraphic.hpp>
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <comphelper/processfactory.hxx> #include <comphelper/processfactory.hxx>
#include <i18nlangtag/languagetag.hxx> #include <i18nlangtag/languagetag.hxx>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "imp_share.hxx" #include "imp_share.hxx"
#include <xml_import.hxx> #include <xml_import.hxx>
#include <xmlscript/xmlns.h>
#include <com/sun/star/awt/CharSet.hpp> #include <com/sun/star/awt/CharSet.hpp>
#include <com/sun/star/awt/FontFamily.hpp> #include <com/sun/star/awt/FontFamily.hpp>
......
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#include <rtl/ref.hxx> #include <rtl/ref.hxx>
#include <xmlscript/xmllib_imexp.hxx> #include <xmlscript/xmllib_imexp.hxx>
#include <xmlscript/xml_helper.hxx> #include <xmlscript/xml_helper.hxx>
#include <xmlscript/xmlns.h>
#include <com/sun/star/xml/sax/XWriter.hpp>
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
using namespace com::sun::star; using namespace com::sun::star;
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "imp_share.hxx" #include "imp_share.hxx"
#include <xml_import.hxx> #include <xml_import.hxx>
#include <xmlscript/xmlns.h>
using namespace css; using namespace css;
using namespace css::uno; using namespace css::uno;
......
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
#include <xmlscript/xmlmod_imexp.hxx> #include <xmlscript/xmlmod_imexp.hxx>
#include <xmlscript/xml_helper.hxx> #include <xmlscript/xml_helper.hxx>
#include <xmlscript/xmlns.h>
#include <com/sun/star/xml/sax/XWriter.hpp>
using namespace com::sun::star::uno; using namespace com::sun::star::uno;
using namespace com::sun::star; using namespace com::sun::star;
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <sal/config.h> #include <sal/config.h>
#include <xmlscript/xmlns.h>
#include <com/sun/star/xml/sax/SAXException.hpp> #include <com/sun/star/xml/sax/SAXException.hpp>
#include <sal/log.hxx> #include <sal/log.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