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>
This commit is contained in:
Gabor Kelemen
2020-02-09 16:45:40 +01:00
committed by Miklos Vajna
parent d9676143dc
commit 87d078a5a8
57 changed files with 215 additions and 112 deletions

View File

@@ -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

View File

@@ -14,7 +14,6 @@
#include <com/sun/star/uno/Reference.h>
#include "writerperfectdllapi.h"
#include <memory>
#include <climits>
namespace com
{

View File

@@ -26,8 +26,6 @@
#include "writerperfectdllapi.h"
#include <climits>
namespace com
{
namespace sun

View File

@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdgGenerator>

View File

@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdpGenerator>

View File

@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdsGenerator>

View File

@@ -12,6 +12,8 @@
#include "DocumentHandlerFor.hxx"
#include <rtl/ustring.hxx>
namespace writerperfect
{
template <> struct DocumentHandlerFor<OdtGenerator>

View File

@@ -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

View File

@@ -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"

View File

@@ -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")); }

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -22,8 +22,6 @@
#include <comphelper/processfactory.hxx>
#include <comphelper/seqstream.hxx>
#include <rtl/ref.hxx>
#include <test/bootstrapfixture.hxx>
#include <WPXSvInputStream.hxx>

View File

@@ -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>

View File

@@ -24,6 +24,7 @@
#include <libwps/libwps.h>
#include <DocumentHandlerForOds.hxx>
#include <WPFTEncodingDialog.hxx>
#include <WPFTResMgr.hxx>
#include "MSWorksCalcImportFilter.hxx"

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -12,7 +12,6 @@
#include <libetonyek/libetonyek.h>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include "NumbersImportFilter.hxx"

View File

@@ -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>

View File

@@ -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"

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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;

View File

@@ -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>

View File

@@ -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"

View File

@@ -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>

View File

@@ -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"

View File

@@ -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>

View File

@@ -10,7 +10,6 @@
*/
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <libabw/libabw.h>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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>

View File

@@ -10,7 +10,6 @@
*/
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <libmwaw/libmwaw.hxx>

View File

@@ -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>

View File

@@ -12,7 +12,6 @@
#include <libetonyek/libetonyek.h>
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include "PagesImportFilter.hxx"

View File

@@ -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>

View File

@@ -8,7 +8,6 @@
*/
#include <cppuhelper/supportsservice.hxx>
#include <com/sun/star/awt/XWindow.hpp>
#include <libstaroffice/libstaroffice.hxx>

View File

@@ -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>

View File

@@ -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>

View File

@@ -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

View File

@@ -22,6 +22,8 @@
#include <rtl/ref.hxx>
#include <tools/gen.hxx>
#include "xmlictxt.hxx"
namespace com
{
namespace sun