tdf#42949 Fix IWYU warnings in xmlscript/
Found with bin/find-unneeded-includes Only removal proposals are dealt with here. Change-Id: I7f15170473100c50bd4d287ec8cb4a8d6186c703 Reviewed-on: https://gerrit.libreoffice.org/81164 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
parent
af9238d913
commit
3dfb4c47ad
17 changed files with 10 additions and 66 deletions
2
xmlscript/IwyuFilter_xmlscript.yaml
Normal file
2
xmlscript/IwyuFilter_xmlscript.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
assumeFilename: xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
|
|
@ -22,10 +22,8 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <com/sun/star/uno/Exception.hpp>
|
||||
#include <com/sun/star/uno/Sequence.hxx>
|
||||
#include <rtl/ustring.hxx>
|
||||
#include <sal/types.h>
|
||||
|
||||
namespace com { namespace sun { namespace star { namespace uno {
|
||||
class XComponentContext;
|
||||
|
|
|
@ -19,12 +19,8 @@
|
|||
#ifndef INCLUDED_XMLSCRIPT_SOURCE_INC_XML_IMPORT_HXX
|
||||
#define INCLUDED_XMLSCRIPT_SOURCE_INC_XML_IMPORT_HXX
|
||||
|
||||
#include <osl/diagnose.h>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
#include <com/sun/star/xml/input/XRoot.hpp>
|
||||
#include <com/sun/star/xml/sax/XExtendedDocumentHandler.hpp>
|
||||
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
|
||||
|
||||
namespace xmlscript
|
||||
{
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
|
||||
#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>
|
||||
|
||||
|
|
|
@ -22,8 +22,6 @@
|
|||
#include <unoservices.hxx>
|
||||
#include <xml_import.hxx>
|
||||
|
||||
#include <cppuhelper/factory.hxx>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <com/sun/star/container/NoSuchElementException.hpp>
|
||||
|
@ -32,7 +30,6 @@
|
|||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <sal/log.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
#include <memory>
|
||||
#include <unordered_map>
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef INCLUDED_XMLSCRIPT_SOURCE_XMLDLG_IMEXP_EXP_SHARE_HXX
|
||||
#define INCLUDED_XMLSCRIPT_SOURCE_XMLDLG_IMEXP_EXP_SHARE_HXX
|
||||
|
||||
#include "common.hxx"
|
||||
#include <misc.hxx>
|
||||
#include <xmlscript/xmldlg_imexp.hxx>
|
||||
#include <xmlscript/xml_helper.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
|
|
|
@ -20,18 +20,12 @@
|
|||
#ifndef INCLUDED_XMLSCRIPT_SOURCE_XMLDLG_IMEXP_IMP_SHARE_HXX
|
||||
#define INCLUDED_XMLSCRIPT_SOURCE_XMLDLG_IMEXP_IMP_SHARE_HXX
|
||||
|
||||
#include "common.hxx"
|
||||
#include <misc.hxx>
|
||||
#include <xmlscript/xmldlg_imexp.hxx>
|
||||
#include <xmlscript/xmllib_imexp.hxx>
|
||||
#include <xmlscript/xmlmod_imexp.hxx>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
|
||||
#include <com/sun/star/container/XNameContainer.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/util/MalformedNumberFormatException.hpp>
|
||||
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
|
||||
#include <com/sun/star/awt/XControlModel.hpp>
|
||||
#include <com/sun/star/awt/FontDescriptor.hpp>
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#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>
|
||||
|
|
|
@ -17,17 +17,13 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "common.hxx"
|
||||
#include "exp_share.hxx"
|
||||
#include <misc.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>
|
||||
#include <com/sun/star/table/CellAddress.hpp>
|
||||
#include <com/sun/star/table/CellRangeAddress.hpp>
|
||||
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
|
||||
#include <com/sun/star/document/XStorageBasedDocument.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <o3tl/any.hxx>
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "common.hxx"
|
||||
#include "exp_share.hxx"
|
||||
#include <xmlscript/xmlns.h>
|
||||
|
||||
#include <o3tl/any.hxx>
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <sal/log.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
|
@ -32,8 +32,6 @@
|
|||
#include <com/sun/star/awt/FontStrikeout.hpp>
|
||||
#include <com/sun/star/awt/FontType.hpp>
|
||||
#include <com/sun/star/awt/FontUnderline.hpp>
|
||||
#include <com/sun/star/awt/FontWeight.hpp>
|
||||
#include <com/sun/star/awt/FontWidth.hpp>
|
||||
#include <com/sun/star/awt/ImagePosition.hpp>
|
||||
#include <com/sun/star/awt/ImageScaleMode.hpp>
|
||||
#include <com/sun/star/awt/LineEndFormat.hpp>
|
||||
|
@ -54,13 +52,11 @@
|
|||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/lang/Locale.hpp>
|
||||
#include <com/sun/star/util/NumberFormat.hpp>
|
||||
|
||||
#include <com/sun/star/view/SelectionType.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>
|
||||
#include <com/sun/star/table/CellAddress.hpp>
|
||||
#include <com/sun/star/table/CellRangeAddress.hpp>
|
||||
#include <com/sun/star/document/XStorageBasedDocument.hpp>
|
||||
|
|
|
@ -18,15 +18,8 @@
|
|||
*/
|
||||
|
||||
#include "imp_share.hxx"
|
||||
#include <com/sun/star/form/binding/XBindableValue.hpp>
|
||||
#include <com/sun/star/form/binding/XValueBinding.hpp>
|
||||
#include <com/sun/star/form/binding/XListEntrySink.hpp>
|
||||
#include <com/sun/star/beans/NamedValue.hpp>
|
||||
#include <com/sun/star/table/CellAddress.hpp>
|
||||
#include <com/sun/star/table/CellRangeAddress.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/beans/XPropertyState.hpp>
|
||||
#include <com/sun/star/document/XStorageBasedDocument.hpp>
|
||||
#include <com/sun/star/util/MalformedNumberFormatException.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXException.hpp>
|
||||
|
||||
#include <cppuhelper/exc_hlp.hxx>
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
*/
|
||||
|
||||
#include "common.hxx"
|
||||
#include "imp_share.hxx"
|
||||
#include <xml_import.hxx>
|
||||
#include <xmlscript/xmlns.h>
|
||||
|
@ -28,8 +29,6 @@
|
|||
#include <com/sun/star/awt/FontStrikeout.hpp>
|
||||
#include <com/sun/star/awt/FontType.hpp>
|
||||
#include <com/sun/star/awt/FontUnderline.hpp>
|
||||
#include <com/sun/star/awt/FontWeight.hpp>
|
||||
#include <com/sun/star/awt/FontWidth.hpp>
|
||||
#include <com/sun/star/awt/ImagePosition.hpp>
|
||||
#include <com/sun/star/awt/ImageScaleMode.hpp>
|
||||
#include <com/sun/star/awt/LineEndFormat.hpp>
|
||||
|
@ -40,6 +39,7 @@
|
|||
#include <com/sun/star/util/Time.hpp>
|
||||
#include <sal/log.hxx>
|
||||
#include <tools/date.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
#include <tools/time.hxx>
|
||||
#include <osl/diagnose.h>
|
||||
|
||||
|
@ -47,7 +47,6 @@
|
|||
#include <com/sun/star/script/ScriptEventDescriptor.hpp>
|
||||
|
||||
#include <com/sun/star/view/SelectionType.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/form/binding/XBindableValue.hpp>
|
||||
#include <com/sun/star/form/binding/XValueBinding.hpp>
|
||||
#include <com/sun/star/form/binding/XListEntrySink.hpp>
|
||||
|
|
|
@ -19,18 +19,16 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <unoservices.hxx>
|
||||
#include "xmlbas_export.hxx"
|
||||
#include <sal/log.hxx>
|
||||
#include <xmlscript/xmlns.h>
|
||||
#include <xmlscript/xml_helper.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
|
||||
#include <com/sun/star/script/XLibraryContainer2.hpp>
|
||||
#include <com/sun/star/script/XLibraryContainerPassword.hpp>
|
||||
#include <com/sun/star/document/XEmbeddedScripts.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXException.hpp>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
#include <com/sun/star/frame/XModel.hpp>
|
||||
#include <com/sun/star/lang/XServiceInfo.hpp>
|
||||
#include <com/sun/star/lang/XInitialization.hpp>
|
||||
#include <com/sun/star/uno/XComponentContext.hpp>
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
#include <osl/mutex.hxx>
|
||||
|
||||
|
|
|
@ -19,16 +19,13 @@
|
|||
|
||||
#include <sal/config.h>
|
||||
|
||||
#include <unoservices.hxx>
|
||||
#include "xmlbas_import.hxx"
|
||||
#include <sal/log.hxx>
|
||||
#include <xmlscript/xmlns.h>
|
||||
#include <xmlscript/xml_helper.hxx>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
#include <com/sun/star/lang/XMultiComponentFactory.hpp>
|
||||
#include <com/sun/star/document/XEmbeddedScripts.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXException.hpp>
|
||||
#include <cppuhelper/implementationentry.hxx>
|
||||
#include <cppuhelper/supportsservice.hxx>
|
||||
#include <tools/diagnose_ex.h>
|
||||
|
||||
|
|
|
@ -24,13 +24,6 @@
|
|||
|
||||
#include <cppuhelper/implbase.hxx>
|
||||
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/container/XNameContainer.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
|
||||
#include <com/sun/star/awt/XControlModel.hpp>
|
||||
#include <com/sun/star/awt/FontDescriptor.hpp>
|
||||
|
||||
#include <com/sun/star/xml/input/XRoot.hpp>
|
||||
#include <com/sun/star/xml/sax/SAXException.hpp>
|
||||
#include <rtl/ref.hxx>
|
||||
|
|
|
@ -26,17 +26,8 @@
|
|||
#include <rtl/ustrbuf.hxx>
|
||||
#include <rtl/ref.hxx>
|
||||
|
||||
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
|
||||
#include <com/sun/star/container/XNameContainer.hpp>
|
||||
#include <com/sun/star/beans/XPropertySet.hpp>
|
||||
|
||||
#include <com/sun/star/awt/XControlModel.hpp>
|
||||
#include <com/sun/star/awt/FontDescriptor.hpp>
|
||||
|
||||
#include <com/sun/star/xml/input/XRoot.hpp>
|
||||
|
||||
#include <vector>
|
||||
|
||||
namespace xmlscript
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue