[Libreoffice-commits] core.git: basic/source include/xmlscript xmlscript/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Oct 25 07:10:00 UTC 2018
basic/source/classes/eventatt.cxx | 1 +
basic/source/uno/dlgcont.cxx | 1 +
include/xmlscript/xml_helper.hxx | 9 +++++----
include/xmlscript/xmldlg_imexp.hxx | 16 +++++++++-------
include/xmlscript/xmllib_imexp.hxx | 5 +++--
include/xmlscript/xmlmod_imexp.hxx | 7 +++++--
xmlscript/source/xml_helper/xml_byteseq.cxx | 3 +++
xmlscript/source/xml_helper/xml_element.cxx | 1 +
xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx | 1 +
xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 2 ++
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx | 2 ++
xmlscript/source/xmldlg_imexp/xmldlg_import.cxx | 1 +
xmlscript/source/xmllib_imexp/xmllib_export.cxx | 2 ++
xmlscript/source/xmllib_imexp/xmllib_import.cxx | 1 +
xmlscript/source/xmlmod_imexp/xmlmod_export.cxx | 2 ++
xmlscript/source/xmlmod_imexp/xmlmod_import.cxx | 1 +
16 files changed, 40 insertions(+), 15 deletions(-)
New commits:
commit d90ec5d26f1e9ff6afe7544cff8413d105d4d439
Author: Gabor Kelemen <kelemeng at ubuntu.com>
AuthorDate: Sun Oct 21 01:16:07 2018 +0200
Commit: Miklos Vajna <vmiklos at collabora.co.uk>
CommitDate: Thu Oct 25 09:09:35 2018 +0200
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: Miklos Vajna <vmiklos at collabora.co.uk>
diff --git a/basic/source/classes/eventatt.cxx b/basic/source/classes/eventatt.cxx
index f76f694adb43..8524d0470674 100644
--- a/basic/source/classes/eventatt.cxx
+++ b/basic/source/classes/eventatt.cxx
@@ -36,6 +36,7 @@
#include <com/sun/star/script/provider/theMasterScriptProviderFactory.hpp>
#include <com/sun/star/script/provider/XScriptProviderSupplier.hpp>
#include <com/sun/star/script/provider/XScriptProvider.hpp>
+#include <com/sun/star/io/XInputStreamProvider.hpp>
#include <basic/basicmanagerrepository.hxx>
#include <basic/basmgr.hxx>
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index 7165a99b4fc0..06dd279dfadb 100644
--- a/basic/source/uno/dlgcont.cxx
+++ b/basic/source/uno/dlgcont.cxx
@@ -23,6 +23,7 @@
#include <com/sun/star/xml/sax/Writer.hpp>
#include <com/sun/star/io/XOutputStream.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/ucb/XSimpleFileAccess2.hpp>
#include <com/sun/star/io/XActiveDataSource.hpp>
diff --git a/include/xmlscript/xml_helper.hxx b/include/xmlscript/xml_helper.hxx
index 6ee6c3f5872f..b5fde5dfb13a 100644
--- a/include/xmlscript/xml_helper.hxx
+++ b/include/xmlscript/xml_helper.hxx
@@ -20,14 +20,15 @@
#define INCLUDED_XMLSCRIPT_XML_HELPER_HXX
#include <vector>
-#include <rtl/byteseq.hxx>
#include <cppuhelper/implbase.hxx>
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#include <com/sun/star/io/XInputStream.hpp>
-#include <com/sun/star/io/XOutputStream.hpp>
+#include <com/sun/star/xml/sax/XAttributeList.hpp>
#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
{
diff --git a/include/xmlscript/xmldlg_imexp.hxx b/include/xmlscript/xmldlg_imexp.hxx
index 34286a7f66b6..fcacfbf6d898 100644
--- a/include/xmlscript/xmldlg_imexp.hxx
+++ b/include/xmlscript/xmldlg_imexp.hxx
@@ -19,16 +19,18 @@
#ifndef 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>
+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
{
diff --git a/include/xmlscript/xmllib_imexp.hxx b/include/xmlscript/xmllib_imexp.hxx
index 6bd49a47b23c..68eb292296c5 100644
--- a/include/xmlscript/xmllib_imexp.hxx
+++ b/include/xmlscript/xmllib_imexp.hxx
@@ -19,14 +19,15 @@
#ifndef 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 <xmlscript/xmlns.h>
#include <xmlscript/xmlscriptdllapi.h>
#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
{
diff --git a/include/xmlscript/xmlmod_imexp.hxx b/include/xmlscript/xmlmod_imexp.hxx
index dd974cc712f6..df0c4cabae15 100644
--- a/include/xmlscript/xmlmod_imexp.hxx
+++ b/include/xmlscript/xmlmod_imexp.hxx
@@ -19,10 +19,13 @@
#ifndef INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX
#define INCLUDED_XMLSCRIPT_XMLMOD_IMEXP_HXX
-#include <com/sun/star/xml/sax/XWriter.hpp>
-#include <xmlscript/xmlns.h>
+#include <com/sun/star/uno/Reference.hxx>
+#include <rtl/ustring.hxx>
#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
{
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx
index 8dec2ce0e8db..24b7e2b6ee47 100644
--- a/xmlscript/source/xml_helper/xml_byteseq.cxx
+++ b/xmlscript/source/xml_helper/xml_byteseq.cxx
@@ -21,6 +21,9 @@
#include <cppuhelper/implbase.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 com::sun::star;
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx
index c0f4286ab5c6..9eb0ea7d423a 100644
--- a/xmlscript/source/xml_helper/xml_element.cxx
+++ b/xmlscript/source/xml_helper/xml_element.cxx
@@ -19,6 +19,7 @@
#include <xmlscript/xml_helper.hxx>
#include <osl/diagnose.h>
+#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
using namespace com::sun::star;
using namespace com::sun::star::uno;
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
index 9daedf961b63..1f800a2871e2 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx
@@ -19,6 +19,7 @@
#include <com/sun/star/lang/XMultiServiceFactory.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/Writer.hpp>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
index 6a7feee467a9..7ac877ab91a3 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx
@@ -18,7 +18,9 @@
*/
#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/XBindableValue.hpp>
#include <com/sun/star/form/binding/XValueBinding.hpp>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
index 60343d87c507..641370f7cb64 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_export.cxx
@@ -18,6 +18,7 @@
*/
#include "exp_share.hxx"
+#include <xmlscript/xmlns.h>
#include <o3tl/any.hxx>
#include <rtl/ustrbuf.hxx>
@@ -66,6 +67,7 @@
#include <com/sun/star/document/GraphicStorageHandler.hpp>
#include <com/sun/star/document/XGraphicStorageHandler.hpp>
#include <com/sun/star/graphic/XGraphic.hpp>
+#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
#include <comphelper/processfactory.hxx>
#include <i18nlangtag/languagetag.hxx>
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index b2c55a45ef35..e275ea679832 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -19,6 +19,7 @@
#include "imp_share.hxx"
#include <xml_import.hxx>
+#include <xmlscript/xmlns.h>
#include <com/sun/star/awt/CharSet.hpp>
#include <com/sun/star/awt/FontFamily.hpp>
diff --git a/xmlscript/source/xmllib_imexp/xmllib_export.cxx b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
index e2c73119a7d7..270377fbc759 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_export.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_export.cxx
@@ -20,6 +20,8 @@
#include <rtl/ref.hxx>
#include <xmlscript/xmllib_imexp.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;
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
index 2bdae2dbad18..2adea0c01cea 100644
--- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx
+++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx
@@ -23,6 +23,7 @@
#include "imp_share.hxx"
#include <xml_import.hxx>
+#include <xmlscript/xmlns.h>
using namespace css;
using namespace css::uno;
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
index a15ea963897a..57c3b1dcceb1 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
@@ -19,6 +19,8 @@
#include <xmlscript/xmlmod_imexp.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;
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
index e34e6fc058a7..dd5efff933f1 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_import.cxx
@@ -19,6 +19,7 @@
#include <sal/config.h>
+#include <xmlscript/xmlns.h>
#include <com/sun/star/xml/sax/SAXException.hpp>
#include <sal/log.hxx>
More information about the Libreoffice-commits
mailing list