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>
diff --git a/writerperfect/IwyuFilter_writerperfect.yaml b/writerperfect/IwyuFilter_writerperfect.yaml
new file mode 100644
index 0000000..edfba6f
--- /dev/null
+++ b/writerperfect/IwyuFilter_writerperfect.yaml
@@ -0,0 +1,200 @@
---
assumeFilename: writerperfect/source/common/WPXSvInputStream.cxx
blacklist:
writerperfect/inc/DocumentHandler.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx
writerperfect/inc/DocumentHandlerForOdt.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx
writerperfect/inc/DocumentHandlerForOdg.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx
writerperfect/inc/DocumentHandlerForOds.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx
writerperfect/inc/DocumentHandlerForOdp.hxx:
# Wrapper header for external library
- libodfgen/libodfgen.hxx
writerperfect/inc/DirectoryStream.hxx:
# Wrapper header for external library
- librevenge-stream/librevenge-stream.h
writerperfect/inc/WPXSvInputStream.hxx:
# Wrapper header for external library
- librevenge-stream/librevenge-stream.h
writerperfect/source/calc/NumbersImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOds.hxx
writerperfect/source/calc/MWAWCalcImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOds.hxx
writerperfect/source/calc/StarOfficeCalcImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOds.hxx
writerperfect/source/calc/MSWorksCalcImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOds.hxx
writerperfect/source/draw/CDRImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/StarOfficeDrawImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/PageMakerImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/ZMFImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/CMXImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/QXPImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/MWAWDrawImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/WPGImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/MSPUBImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/VisioImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/draw/FreehandImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/source/impress/MWAWPresentationImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdp.hxx
writerperfect/source/impress/StarOfficePresentationImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdp.hxx
writerperfect/source/impress/KeynoteImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdp.hxx
writerperfect/source/writer/EBookImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/writer/MSWorksImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/writer/StarOfficeWriterImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/writer/PagesImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/writer/AbiWordImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/writer/MWAWImportFilter.hxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/qa/unit/WpftLoader.cxx:
# Actually used
- com/sun/star/beans/PropertyValue.hpp
- com/sun/star/container/XNameAccess.hpp
- com/sun/star/document/XFilter.hpp
- com/sun/star/frame/XDesktop2.hpp
- com/sun/star/io/XInputStream.hpp
- com/sun/star/uno/XComponentContext.hpp
# Needed for UnoType template instatiation
- com/sun/star/ucb/XContent.hpp
writerperfect/qa/unit/DrawingImportTest.cxx:
# Needed for direct member access
- DocumentHandlerForOdg.hxx
writerperfect/qa/unit/SpreadsheetImportTest.cxx:
# Needed for direct member access
- DocumentHandlerForOds.hxx
writerperfect/qa/unit/PresentationImportTest.cxx:
# Needed for direct member access
- DocumentHandlerForOdp.hxx
writerperfect/qa/unit/TextImportTest.cxx:
# Needed for direct member access
- DocumentHandlerForOdt.hxx
writerperfect/source/common/DocumentHandler.cxx:
# Actually used
- com/sun/star/xml/sax/XDocumentHandler.hpp
writerperfect/source/calc/NumbersImportFilter.cxx:
# Wrapper header for external library
- libetonyek/libetonyek.h
writerperfect/source/calc/MWAWCalcImportFilter.cxx:
# Wrapper header for external library
- libmwaw/libmwaw.hxx
writerperfect/source/calc/StarOfficeCalcImportFilter.cxx:
# Wrapper header for external library
- libstaroffice/libstaroffice.hxx
writerperfect/source/calc/MSWorksCalcImportFilter.cxx:
# Wrapper header for external library
- libwps/libwps.h
writerperfect/source/draw/CDRImportFilter.cxx:
# Wrapper header for external library
- libcdr/libcdr.h
writerperfect/source/draw/CMXImportFilter.cxx:
# Wrapper header for external library
- libcdr/libcdr.h
writerperfect/source/draw/FreehandImportFilter.cxx:
# Wrapper header for external library
- libfreehand/libfreehand.h
writerperfect/source/draw/MWAWDrawImportFilter.cxx:
# Wrapper header for external library
- libmwaw/libmwaw.hxx
writerperfect/source/draw/MSPUBImportFilter.cxx:
# Wrapper header for external library
- libmspub/libmspub.h
writerperfect/source/draw/PageMakerImportFilter.cxx:
# Wrapper header for external library
- libpagemaker/libpagemaker.h
writerperfect/source/draw/StarOfficeDrawImportFilter.cxx:
# Wrapper header for external library
- libstaroffice/libstaroffice.hxx
writerperfect/source/draw/VisioImportFilter.cxx:
# Wrapper header for external library
- libvisio/libvisio.h
writerperfect/source/draw/QXPImportFilter.cxx:
# Wrapper header for external library
- libqxp/libqxp.h
writerperfect/source/draw/WPGImportFilter.cxx:
# Wrapper header for external library
- libwpg/libwpg.h
writerperfect/source/draw/ZMFImportFilter.cxx:
# Wrapper header for external library
- libzmf/libzmf.h
writerperfect/source/impress/MWAWPresentationImportFilter.cxx:
# Wrapper header for external library
- libmwaw/libmwaw.hxx
writerperfect/source/impress/StarOfficePresentationImportFilter.cxx:
# Wrapper header for external library
- libstaroffice/libstaroffice.hxx
writerperfect/source/impress/KeynoteImportFilter.cxx:
# Wrapper header for external library
- libetonyek/libetonyek.h
writerperfect/source/writer/PagesImportFilter.cxx:
# Wrapper header for external library
- libetonyek/libetonyek.h
writerperfect/source/writer/MWAWImportFilter.cxx:
# Wrapper header for external library
- libmwaw/libmwaw.hxx
writerperfect/source/writer/MSWorksImportFilter.cxx:
# Wrapper header for external library
- libwps/libwps.h
writerperfect/source/writer/WordPerfectImportFilter.cxx:
# Wrapper header for external library
- libwpd/libwpd.h
- libwpg/libwpg.h
writerperfect/source/writer/StarOfficeWriterImportFilter.cxx:
# Wrapper header for external library
- libstaroffice/libstaroffice.hxx
writerperfect/source/writer/AbiWordImportFilter.cxx:
# Wrapper header for external library
- libabw/libabw.h
writerperfect/source/writer/EBookImportFilter.cxx:
# Wrapper header for external library
- libe-book/libe-book.h
writerperfect/source/writer/EPUBExportFilter.cxx:
# Actually used
- com/sun/star/uno/XComponentContext.hpp
diff --git a/writerperfect/inc/DirectoryStream.hxx b/writerperfect/inc/DirectoryStream.hxx
index 1f9f323..3da07bc 100644
--- a/writerperfect/inc/DirectoryStream.hxx
+++ b/writerperfect/inc/DirectoryStream.hxx
@@ -14,7 +14,6 @@
#include <com/sun/star/uno/Reference.h>
#include "writerperfectdllapi.h"
#include <memory>
#include <climits>
namespace com
{
diff --git a/writerperfect/inc/DocumentHandler.hxx b/writerperfect/inc/DocumentHandler.hxx
index d14bb27..6f87340 100644
--- a/writerperfect/inc/DocumentHandler.hxx
+++ b/writerperfect/inc/DocumentHandler.hxx
@@ -26,8 +26,6 @@
#include "writerperfectdllapi.h"
#include <climits>
namespace com
{
namespace sun
diff --git a/writerperfect/inc/DocumentHandlerForOdg.hxx b/writerperfect/inc/DocumentHandlerForOdg.hxx
index 9d46bcb..e701751 100644
--- a/writerperfect/inc/DocumentHandlerForOdg.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdg.hxx
@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdgGenerator>
diff --git a/writerperfect/inc/DocumentHandlerForOdp.hxx b/writerperfect/inc/DocumentHandlerForOdp.hxx
index 9ef3681..6ee5a83 100644
--- a/writerperfect/inc/DocumentHandlerForOdp.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdp.hxx
@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdpGenerator>
diff --git a/writerperfect/inc/DocumentHandlerForOds.hxx b/writerperfect/inc/DocumentHandlerForOds.hxx
index a739443..48b78fa 100644
--- a/writerperfect/inc/DocumentHandlerForOds.hxx
+++ b/writerperfect/inc/DocumentHandlerForOds.hxx
@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdsGenerator>
diff --git a/writerperfect/inc/DocumentHandlerForOdt.hxx b/writerperfect/inc/DocumentHandlerForOdt.hxx
index b454e57d..55acf1f 100644
--- a/writerperfect/inc/DocumentHandlerForOdt.hxx
+++ b/writerperfect/inc/DocumentHandlerForOdt.hxx
@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdtGenerator>
diff --git a/writerperfect/inc/ImportFilter.hxx b/writerperfect/inc/ImportFilter.hxx
index b74f0ec..4328b90 100644
--- a/writerperfect/inc/ImportFilter.hxx
+++ b/writerperfect/inc/ImportFilter.hxx
@@ -8,23 +8,16 @@
#ifndef INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX
#define INCLUDED_WRITERPERFECT_INC_WRITERPERFECT_IMPORTFILTER_HXX
#include <libodfgen/libodfgen.hxx>
#include <librevenge/librevenge.h>
#include <librevenge-stream/librevenge-stream.h>
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/PropertyValue.hpp>
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
#include <com/sun/star/lang/XInitialization.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/xml/sax/InputSource.hpp>
#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
#include <osl/diagnose.h>
@@ -37,8 +30,6 @@
#include "DocumentHandler.hxx"
#include "WPXSvInputStream.hxx"
#include <xmloff/attrlist.hxx>
#include "DocumentHandlerFor.hxx"
namespace writerperfect
diff --git a/writerperfect/inc/WPFTEncodingDialog.hxx b/writerperfect/inc/WPFTEncodingDialog.hxx
index b38977e..433141e 100644
--- a/writerperfect/inc/WPFTEncodingDialog.hxx
+++ b/writerperfect/inc/WPFTEncodingDialog.hxx
@@ -12,8 +12,6 @@
#ifndef INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
#define INCLUDED_WRITERPERFECT_WPFTENCODINGDIALOG_HXX
#include <sal/types.h>
#include <vcl/weld.hxx>
#include "writerperfectdllapi.h"
diff --git a/writerperfect/inc/WPFTResMgr.hxx b/writerperfect/inc/WPFTResMgr.hxx
index a6cd389..0cff3e4 100644
--- a/writerperfect/inc/WPFTResMgr.hxx
+++ b/writerperfect/inc/WPFTResMgr.hxx
@@ -3,8 +3,6 @@
#ifndef INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
#define INCLUDED_WRITERPERFECT_INC_WPFTRESMGR_HXX
#include "writerperfectdllapi.h"
#include <unotools/resmgr.hxx>
inline OUString WpResId(const char* pId) { return Translate::get(pId, Translate::Create("wpt")); }
diff --git a/writerperfect/qa/unit/DrawingImportTest.cxx b/writerperfect/qa/unit/DrawingImportTest.cxx
index a56007b..6fb1f98 100644
--- a/writerperfect/qa/unit/DrawingImportTest.cxx
+++ b/writerperfect/qa/unit/DrawingImportTest.cxx
@@ -7,7 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
diff --git a/writerperfect/qa/unit/PresentationImportTest.cxx b/writerperfect/qa/unit/PresentationImportTest.cxx
index 11a61d80..e1414de 100644
--- a/writerperfect/qa/unit/PresentationImportTest.cxx
+++ b/writerperfect/qa/unit/PresentationImportTest.cxx
@@ -7,7 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/drawing/XDrawPages.hpp>
#include <com/sun/star/drawing/XDrawPagesSupplier.hpp>
diff --git a/writerperfect/qa/unit/SpreadsheetImportTest.cxx b/writerperfect/qa/unit/SpreadsheetImportTest.cxx
index 06ac09a..caf5d4d 100644
--- a/writerperfect/qa/unit/SpreadsheetImportTest.cxx
+++ b/writerperfect/qa/unit/SpreadsheetImportTest.cxx
@@ -7,8 +7,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <com/sun/star/awt/XWindow.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <com/sun/star/sheet/XSpreadsheetDocument.hpp>
#include <com/sun/star/table/XCell.hpp>
diff --git a/writerperfect/qa/unit/WPXSvStreamTest.cxx b/writerperfect/qa/unit/WPXSvStreamTest.cxx
index 87ad21f..368a822 100644
--- a/writerperfect/qa/unit/WPXSvStreamTest.cxx
+++ b/writerperfect/qa/unit/WPXSvStreamTest.cxx
@@ -22,8 +22,6 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/seqstream.hxx>
#include <rtl/ref.hxx>
#include <test/bootstrapfixture.hxx>
#include <WPXSvInputStream.hxx>
diff --git a/writerperfect/qa/unit/WpftLoader.cxx b/writerperfect/qa/unit/WpftLoader.cxx
index f289376..3338e72 100644
--- a/writerperfect/qa/unit/WpftLoader.cxx
+++ b/writerperfect/qa/unit/WpftLoader.cxx
@@ -15,7 +15,6 @@
#include <com/sun/star/document/XExtendedFilterDetection.hpp>
#include <com/sun/star/document/XFilter.hpp>
#include <com/sun/star/document/XImporter.hpp>
#include <com/sun/star/document/XTypeDetection.hpp>
#include <com/sun/star/frame/XController.hpp>
#include <com/sun/star/frame/XDesktop2.hpp>
#include <com/sun/star/frame/XModel.hpp>
diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
index 9eec43b..521b7c0 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 8b303a1..82cf767 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 f68d20f..186084b 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 6deb1ff..97cfc18 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 8e2483d..8136843 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 59ba90e..9bbbc17 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 9e8a1ba..5892586 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 1120e51..bef0e2c 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 dd9ba55..34b4903 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 c6e360c..23aab81 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 6020f52..68dd7b5 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 89374bc..ba34cd2 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 f8a05b3..000debd 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 98963eb..ddc3058 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 b66593e..5f5379d 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 a14402c..6d81e41 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 406a988..f09a107 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 f1cbb64..2526a96 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 93f022a..33b23aa 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 2ed7064..10411ea 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 14a47c6..e06f6d3 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 0ffccf9..2b12e1a 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 cae19663..1ae6002 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 096bbd9..c5de698 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 0967eee..4bb1afb 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 f35b647..7242c15 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 f817945..7a5e610 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 80b2631..0661604 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 4d49d9d..99fa0b3 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 feee101..d734397 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 3bbc515..9ebdc92 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 2adec49..5339d9e 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 a6bd7ec..33635cc 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 4dcf7bb..33fe2d9 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 810ca63..5d67aa3 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 89080e6e..9d8bb5e 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 9457667..5e9f5c5 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 10eb0f8..f5357cf 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 585dec1..745b947 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 2544e25..ca27d5f 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 163da40..2ed1f3c 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 59219ec..6994be4 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