diff options
author | Gabor Kelemen <kelemen.gabor2@nisz.hu> | 2020-02-09 16:45:40 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-02-11 11:17:23 +0100 |
commit | 87d078a5a86d9a83395740e6c74e2e4cb52fe7cc (patch) | |
tree | 053034394878c8f1108b3ab7e40c091f5d902984 /writerperfect/source | |
parent | d9676143dc61e846ffce275de3767eb8f53bf0af (diff) |
tdf#42949 Fix IWYU warnings in writerperfect/
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: Ia1ac2b3d254487f6b4e85b52eead13635d30a5af
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88416
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'writerperfect/source')
42 files changed, 6 insertions, 88 deletions
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx index 9eec43b28545..521b7c0dbf5d 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx @@ -24,6 +24,7 @@ #include <libwps/libwps.h> +#include <DocumentHandlerForOds.hxx> #include <WPFTEncodingDialog.hxx> #include <WPFTResMgr.hxx> #include "MSWorksCalcImportFilter.hxx" diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.hxx b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx index 8b303a1737dd..82cf7676339c 100644 --- a/writerperfect/source/calc/MSWorksCalcImportFilter.hxx +++ b/writerperfect/source/calc/MSWorksCalcImportFilter.hxx @@ -10,12 +10,10 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_CALC_MSWORKSCALCIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_CALC_MSWORKSCALCIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <ImportFilter.hxx> - #include <DocumentHandlerForOds.hxx> +#include <ImportFilter.hxx> /* This component will be instantiated for both import or export. Whether it calls * setSourceDocument or setTargetDocument determines which Impl function the filter diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.cxx b/writerperfect/source/calc/MWAWCalcImportFilter.cxx index f68d20f67708..186084b17746 100644 --- a/writerperfect/source/calc/MWAWCalcImportFilter.cxx +++ b/writerperfect/source/calc/MWAWCalcImportFilter.cxx @@ -10,10 +10,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libmwaw/libmwaw.hxx> -#include <libodfgen/libodfgen.hxx> #include "MWAWCalcImportFilter.hxx" diff --git a/writerperfect/source/calc/MWAWCalcImportFilter.hxx b/writerperfect/source/calc/MWAWCalcImportFilter.hxx index 6deb1ff4c1eb..97cfc18915af 100644 --- a/writerperfect/source/calc/MWAWCalcImportFilter.hxx +++ b/writerperfect/source/calc/MWAWCalcImportFilter.hxx @@ -10,12 +10,10 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_CALC_MWAWCALCIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_CALC_MWAWCALCIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <ImportFilter.hxx> - #include <DocumentHandlerForOds.hxx> +#include <ImportFilter.hxx> /* This component will be instantiated for both import or export. Whether it calls * setSourceDocument or setTargetDocument determines which Impl function the filter diff --git a/writerperfect/source/calc/NumbersImportFilter.cxx b/writerperfect/source/calc/NumbersImportFilter.cxx index 8e2483dd8896..813684361a01 100644 --- a/writerperfect/source/calc/NumbersImportFilter.cxx +++ b/writerperfect/source/calc/NumbersImportFilter.cxx @@ -12,7 +12,6 @@ #include <libetonyek/libetonyek.h> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include "NumbersImportFilter.hxx" diff --git a/writerperfect/source/calc/NumbersImportFilter.hxx b/writerperfect/source/calc/NumbersImportFilter.hxx index 59ba90e25c15..9bbbc174b773 100644 --- a/writerperfect/source/calc/NumbersImportFilter.hxx +++ b/writerperfect/source/calc/NumbersImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_NUMBERSIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_NUMBERSIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <DocumentHandlerForOds.hxx> diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx index 9e8a1ba18d7d..5892586e885d 100644 --- a/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx +++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.cxx @@ -8,10 +8,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libstaroffice/libstaroffice.hxx> -#include <libodfgen/libodfgen.hxx> #include "StarOfficeCalcImportFilter.hxx" diff --git a/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx b/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx index 1120e5169e24..bef0e2cef4d2 100644 --- a/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx +++ b/writerperfect/source/calc/StarOfficeCalcImportFilter.hxx @@ -10,12 +10,10 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_CALC_STAROFFICECALCIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_CALC_STAROFFICECALCIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <ImportFilter.hxx> - #include <DocumentHandlerForOds.hxx> +#include <ImportFilter.hxx> /* This component will be instantiated for both import or export. Whether it calls * setSourceDocument or setTargetDocument determines which Impl function the filter diff --git a/writerperfect/source/draw/CDRImportFilter.cxx b/writerperfect/source/draw/CDRImportFilter.cxx index dd9ba55f7985..34b490326168 100644 --- a/writerperfect/source/draw/CDRImportFilter.cxx +++ b/writerperfect/source/draw/CDRImportFilter.cxx @@ -11,12 +11,9 @@ * Corel Corporation or Corel Corporation Limited." */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include <libcdr/libcdr.h> -#include <libodfgen/libodfgen.hxx> #include "CDRImportFilter.hxx" diff --git a/writerperfect/source/draw/CMXImportFilter.cxx b/writerperfect/source/draw/CMXImportFilter.cxx index c6e360c4ad04..23aab816af11 100644 --- a/writerperfect/source/draw/CMXImportFilter.cxx +++ b/writerperfect/source/draw/CMXImportFilter.cxx @@ -11,12 +11,9 @@ * Corel Corporation or Corel Corporation Limited." */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include <libcdr/libcdr.h> -#include <libodfgen/libodfgen.hxx> #include "CMXImportFilter.hxx" diff --git a/writerperfect/source/draw/FreehandImportFilter.cxx b/writerperfect/source/draw/FreehandImportFilter.cxx index 6020f521acab..68dd7b56b823 100644 --- a/writerperfect/source/draw/FreehandImportFilter.cxx +++ b/writerperfect/source/draw/FreehandImportFilter.cxx @@ -7,12 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include <libfreehand/libfreehand.h> -#include <libodfgen/libodfgen.hxx> #include "FreehandImportFilter.hxx" diff --git a/writerperfect/source/draw/MSPUBImportFilter.cxx b/writerperfect/source/draw/MSPUBImportFilter.cxx index 89374bc220aa..ba34cd2f19a7 100644 --- a/writerperfect/source/draw/MSPUBImportFilter.cxx +++ b/writerperfect/source/draw/MSPUBImportFilter.cxx @@ -7,12 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include <libmspub/libmspub.h> -#include <libodfgen/libodfgen.hxx> #include "MSPUBImportFilter.hxx" diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.cxx b/writerperfect/source/draw/MWAWDrawImportFilter.cxx index f8a05b343344..000debdcbd84 100644 --- a/writerperfect/source/draw/MWAWDrawImportFilter.cxx +++ b/writerperfect/source/draw/MWAWDrawImportFilter.cxx @@ -10,10 +10,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libmwaw/libmwaw.hxx> -#include <libodfgen/libodfgen.hxx> #include "MWAWDrawImportFilter.hxx" diff --git a/writerperfect/source/draw/MWAWDrawImportFilter.hxx b/writerperfect/source/draw/MWAWDrawImportFilter.hxx index 98963ebf7510..ddc305830989 100644 --- a/writerperfect/source/draw/MWAWDrawImportFilter.hxx +++ b/writerperfect/source/draw/MWAWDrawImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_MWAWDRAWIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_DRAW_MWAWDRAWIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/draw/PageMakerImportFilter.cxx b/writerperfect/source/draw/PageMakerImportFilter.cxx index b66593e7c7b7..5f5379de94d9 100644 --- a/writerperfect/source/draw/PageMakerImportFilter.cxx +++ b/writerperfect/source/draw/PageMakerImportFilter.cxx @@ -7,12 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <libodfgen/libodfgen.hxx> - #include <libpagemaker/libpagemaker.h> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include "PageMakerImportFilter.hxx" diff --git a/writerperfect/source/draw/QXPImportFilter.cxx b/writerperfect/source/draw/QXPImportFilter.cxx index a14402c49bba..6d81e4127285 100644 --- a/writerperfect/source/draw/QXPImportFilter.cxx +++ b/writerperfect/source/draw/QXPImportFilter.cxx @@ -7,12 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <libodfgen/libodfgen.hxx> - #include <libqxp/libqxp.h> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include "QXPImportFilter.hxx" diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx index 406a9887287b..f09a107a0a6f 100644 --- a/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx +++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.cxx @@ -8,10 +8,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libstaroffice/libstaroffice.hxx> -#include <libodfgen/libodfgen.hxx> #include "StarOfficeDrawImportFilter.hxx" diff --git a/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx index f1cbb643f990..2526a96a9358 100644 --- a/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx +++ b/writerperfect/source/draw/StarOfficeDrawImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_DRAW_STAROFFICEDRAWIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_DRAW_STAROFFICEDRAWIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/draw/VisioImportFilter.cxx b/writerperfect/source/draw/VisioImportFilter.cxx index 93f022a149ea..33b23aae4c08 100644 --- a/writerperfect/source/draw/VisioImportFilter.cxx +++ b/writerperfect/source/draw/VisioImportFilter.cxx @@ -7,12 +7,9 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include <libvisio/libvisio.h> -#include <libodfgen/libodfgen.hxx> #include "VisioImportFilter.hxx" diff --git a/writerperfect/source/draw/WPGImportFilter.cxx b/writerperfect/source/draw/WPGImportFilter.cxx index 2ed706431887..10411ea3bb0b 100644 --- a/writerperfect/source/draw/WPGImportFilter.cxx +++ b/writerperfect/source/draw/WPGImportFilter.cxx @@ -13,12 +13,8 @@ * Corel Corporation or Corel Corporation Limited." */ -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> -#include <libodfgen/libodfgen.hxx> - #include <libwpg/libwpg.h> #include "WPGImportFilter.hxx" diff --git a/writerperfect/source/draw/ZMFImportFilter.cxx b/writerperfect/source/draw/ZMFImportFilter.cxx index 14a47c6ca04f..e06f6d3d8571 100644 --- a/writerperfect/source/draw/ZMFImportFilter.cxx +++ b/writerperfect/source/draw/ZMFImportFilter.cxx @@ -7,12 +7,8 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <libodfgen/libodfgen.hxx> - #include <libzmf/libzmf.h> -#include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/awt/XWindow.hpp> #include <cppuhelper/supportsservice.hxx> #include "ZMFImportFilter.hxx" diff --git a/writerperfect/source/impress/KeynoteImportFilter.cxx b/writerperfect/source/impress/KeynoteImportFilter.cxx index 0ffccf9f38d5..2b12e1a0e968 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.cxx +++ b/writerperfect/source/impress/KeynoteImportFilter.cxx @@ -8,20 +8,15 @@ */ #include <memory> -#include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/beans/NamedValue.hpp> #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/ucb/XContent.hpp> #include <comphelper/processfactory.hxx> -#include <comphelper/types.hxx> #include <cppuhelper/supportsservice.hxx> -#include <iostream> #include <libetonyek/libetonyek.h> -#include <libodfgen/libodfgen.hxx> -#include <rtl/tencinfo.h> #include <ucbhelper/content.hxx> #include <unotools/ucbhelper.hxx> @@ -29,8 +24,6 @@ #include <DocumentHandler.hxx> #include <WPXSvInputStream.hxx> -#include <xmloff/attrlist.hxx> - #include "KeynoteImportFilter.hxx" using writerperfect::DocumentHandler; diff --git a/writerperfect/source/impress/KeynoteImportFilter.hxx b/writerperfect/source/impress/KeynoteImportFilter.hxx index cae19663a7c7..1ae6002a58e4 100644 --- a/writerperfect/source/impress/KeynoteImportFilter.hxx +++ b/writerperfect/source/impress/KeynoteImportFilter.hxx @@ -8,7 +8,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_KEYNOTEIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_KEYNOTEIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx index 096bbd9647b3..c5de6984ab42 100644 --- a/writerperfect/source/impress/MWAWPresentationImportFilter.cxx +++ b/writerperfect/source/impress/MWAWPresentationImportFilter.cxx @@ -10,10 +10,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libmwaw/libmwaw.hxx> -#include <libodfgen/libodfgen.hxx> #include "MWAWPresentationImportFilter.hxx" diff --git a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx index 0967eeec7b9e..4bb1afb55023 100644 --- a/writerperfect/source/impress/MWAWPresentationImportFilter.hxx +++ b/writerperfect/source/impress/MWAWPresentationImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_MWAWPRESENTATIONIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_IMPRESS_MWAWPRESENTATIONIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx index f35b64728cf9..7242c15e51d1 100644 --- a/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx +++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.cxx @@ -8,10 +8,8 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libstaroffice/libstaroffice.hxx> -#include <libodfgen/libodfgen.hxx> #include "StarOfficePresentationImportFilter.hxx" diff --git a/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx b/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx index f8179455710f..7a5e6103aa1c 100644 --- a/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx +++ b/writerperfect/source/impress/StarOfficePresentationImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_PRESENTATION_STAROFFICEPRESENTATIONIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_PRESENTATION_STAROFFICEPRESENTATIONIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/AbiWordImportFilter.cxx b/writerperfect/source/writer/AbiWordImportFilter.cxx index 80b2631b0cdd..0661604bc14e 100644 --- a/writerperfect/source/writer/AbiWordImportFilter.cxx +++ b/writerperfect/source/writer/AbiWordImportFilter.cxx @@ -10,7 +10,6 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libabw/libabw.h> diff --git a/writerperfect/source/writer/AbiWordImportFilter.hxx b/writerperfect/source/writer/AbiWordImportFilter.hxx index 4d49d9d572c4..99fa0b30ffe6 100644 --- a/writerperfect/source/writer/AbiWordImportFilter.hxx +++ b/writerperfect/source/writer/AbiWordImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_ABIWORDIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_ABIWORDIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/EBookImportFilter.cxx b/writerperfect/source/writer/EBookImportFilter.cxx index feee101b27d8..d734397bce5b 100644 --- a/writerperfect/source/writer/EBookImportFilter.cxx +++ b/writerperfect/source/writer/EBookImportFilter.cxx @@ -10,7 +10,6 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <sal/log.hxx> #include <libe-book/libe-book.h> diff --git a/writerperfect/source/writer/EBookImportFilter.hxx b/writerperfect/source/writer/EBookImportFilter.hxx index 3bbc515783a3..9ebdc9234a88 100644 --- a/writerperfect/source/writer/EBookImportFilter.hxx +++ b/writerperfect/source/writer/EBookImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef EBOOKIMPORTFILTER_HXX #define EBOOKIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/MSWorksImportFilter.cxx b/writerperfect/source/writer/MSWorksImportFilter.cxx index 2adec49cfeba..5339d9e3f202 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.cxx +++ b/writerperfect/source/writer/MSWorksImportFilter.cxx @@ -10,8 +10,6 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> -#include <sal/log.hxx> #include <tools/diagnose_ex.h> #include <libwps/libwps.h> diff --git a/writerperfect/source/writer/MSWorksImportFilter.hxx b/writerperfect/source/writer/MSWorksImportFilter.hxx index a6bd7ec32186..33635cc37421 100644 --- a/writerperfect/source/writer/MSWorksImportFilter.hxx +++ b/writerperfect/source/writer/MSWorksImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_MSWORKSIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_MSWORKSIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/MWAWImportFilter.cxx b/writerperfect/source/writer/MWAWImportFilter.cxx index 4dcf7bbca53e..33fe2d95f222 100644 --- a/writerperfect/source/writer/MWAWImportFilter.cxx +++ b/writerperfect/source/writer/MWAWImportFilter.cxx @@ -10,7 +10,6 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libmwaw/libmwaw.hxx> diff --git a/writerperfect/source/writer/MWAWImportFilter.hxx b/writerperfect/source/writer/MWAWImportFilter.hxx index 810ca637ce14..5d67aa31da1c 100644 --- a/writerperfect/source/writer/MWAWImportFilter.hxx +++ b/writerperfect/source/writer/MWAWImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_MWAWIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_MWAWIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/PagesImportFilter.cxx b/writerperfect/source/writer/PagesImportFilter.cxx index 89080e6e4cad..9d8bb5eb3828 100644 --- a/writerperfect/source/writer/PagesImportFilter.cxx +++ b/writerperfect/source/writer/PagesImportFilter.cxx @@ -12,7 +12,6 @@ #include <libetonyek/libetonyek.h> #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include "PagesImportFilter.hxx" diff --git a/writerperfect/source/writer/PagesImportFilter.hxx b/writerperfect/source/writer/PagesImportFilter.hxx index 9457667f271c..5e9f5c50cf76 100644 --- a/writerperfect/source/writer/PagesImportFilter.hxx +++ b/writerperfect/source/writer/PagesImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_PAGESIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_PAGESIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <DocumentHandlerForOdt.hxx> diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx index 10eb0f8f6375..f5357cf38451 100644 --- a/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx +++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.cxx @@ -8,7 +8,6 @@ */ #include <cppuhelper/supportsservice.hxx> -#include <com/sun/star/awt/XWindow.hpp> #include <libstaroffice/libstaroffice.hxx> diff --git a/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx b/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx index 585dec14be5a..745b94786f32 100644 --- a/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx +++ b/writerperfect/source/writer/StarOfficeWriterImportFilter.hxx @@ -10,7 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_STAROFFICEWRITERIMPORTFILTER_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_STAROFFICEWRITERIMPORTFILTER_HXX -#include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> #include <ImportFilter.hxx> diff --git a/writerperfect/source/writer/WordPerfectImportFilter.cxx b/writerperfect/source/writer/WordPerfectImportFilter.cxx index 2544e25944c6..ca27d5fbc1ec 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.cxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.cxx @@ -9,25 +9,20 @@ */ #include <osl/diagnose.h> -#include <rtl/tencinfo.h> #include <com/sun/star/awt/XWindow.hpp> #include <com/sun/star/io/XInputStream.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/io/XSeekable.hpp> #include <com/sun/star/uno/Reference.h> -#include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <cppuhelper/supportsservice.hxx> #include <DocumentHandler.hxx> #include <WPXSvInputStream.hxx> -#include <xmloff/attrlist.hxx> #include <sfx2/passwd.hxx> #include <ucbhelper/content.hxx> #include <vcl/svapp.hxx> -#include <libodfgen/libodfgen.hxx> #include <libwpd/libwpd.h> #include <libwpg/libwpg.h> diff --git a/writerperfect/source/writer/WordPerfectImportFilter.hxx b/writerperfect/source/writer/WordPerfectImportFilter.hxx index 163da40b5035..2ed1f3c1f083 100644 --- a/writerperfect/source/writer/WordPerfectImportFilter.hxx +++ b/writerperfect/source/writer/WordPerfectImportFilter.hxx @@ -13,13 +13,9 @@ #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XImporter.hpp> #include <com/sun/star/document/XExtendedFilterDetection.hpp> -#include <com/sun/star/beans/XPropertyAccess.hpp> -#include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> #include <com/sun/star/lang/XInitialization.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/xml/sax/XDocumentHandler.hpp> -#include <com/sun/star/io/XInputStream.hpp> #include <cppuhelper/implbase.hxx> /* This component will be instantiated for both import or export. Whether it calls diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx index 59219ecd25ea..6994be4720ac 100644 --- a/writerperfect/source/writer/exp/xmlimp.hxx +++ b/writerperfect/source/writer/exp/xmlimp.hxx @@ -22,6 +22,8 @@ #include <rtl/ref.hxx> #include <tools/gen.hxx> +#include "xmlictxt.hxx" + namespace com { namespace sun |