diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-03 21:06:56 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-04 15:51:39 +0100 |
commit | 67e1e2ee40dba196f706afb43d0379b29c3c0f42 (patch) | |
tree | b7de03d03bd9634b935dd265b4f4b043b50d533f /writerperfect | |
parent | f042128907598e5f82e759a175b564a68edfb490 (diff) |
tdf#42949 Fix some more Include What You Use warnings
Change-Id: I2040315707674dc99a37aedb96ac61dca274c13a
Reviewed-on: https://gerrit.libreoffice.org/47348
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'writerperfect')
17 files changed, 23 insertions, 15 deletions
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx index 1cdd80040d2c..f52667a9b6ce 100644 --- a/writerperfect/qa/unit/EPUBExportTest.cxx +++ b/writerperfect/qa/unit/EPUBExportTest.cxx @@ -18,7 +18,6 @@ #include <comphelper/processfactory.hxx> #include <comphelper/propertysequence.hxx> #include <comphelper/string.hxx> -#include <cppuhelper/implbase.hxx> #include <test/bootstrapfixture.hxx> #include <test/xmltesttools.hxx> #include <unotest/macros_test.hxx> diff --git a/writerperfect/source/writer/EPUBExportDialog.cxx b/writerperfect/source/writer/EPUBExportDialog.cxx index 81efcdfcf687..fd449970fa7b 100644 --- a/writerperfect/source/writer/EPUBExportDialog.cxx +++ b/writerperfect/source/writer/EPUBExportDialog.cxx @@ -13,6 +13,7 @@ #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> #include <com/sun/star/ui/dialogs/FolderPicker.hpp> +#include <comphelper/sequenceashashmap.hxx> #include <sfx2/opengrf.hxx> #include "EPUBExportFilter.hxx" diff --git a/writerperfect/source/writer/EPUBExportDialog.hxx b/writerperfect/source/writer/EPUBExportDialog.hxx index aafdbbb35105..8f84779aa8cc 100644 --- a/writerperfect/source/writer/EPUBExportDialog.hxx +++ b/writerperfect/source/writer/EPUBExportDialog.hxx @@ -10,12 +10,16 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTDIALOG_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTDIALOG_HXX -#include <comphelper/sequenceashashmap.hxx> #include <vcl/button.hxx> #include <vcl/dialog.hxx> #include <vcl/edit.hxx> #include <vcl/lstbox.hxx> +namespace comphelper +{ +class SequenceAsHashMap; +} + namespace writerperfect { diff --git a/writerperfect/source/writer/EPUBExportFilter.cxx b/writerperfect/source/writer/EPUBExportFilter.cxx index 42652719684f..7c1bd1a6d796 100644 --- a/writerperfect/source/writer/EPUBExportFilter.cxx +++ b/writerperfect/source/writer/EPUBExportFilter.cxx @@ -19,7 +19,6 @@ #include <com/sun/star/text/XPageCursor.hpp> #include <com/sun/star/text/XTextViewCursorSupplier.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <com/sun/star/view/XRenderable.hpp> #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <comphelper/genericpropertyset.hxx> diff --git a/writerperfect/source/writer/EPUBExportFilter.hxx b/writerperfect/source/writer/EPUBExportFilter.hxx index 7a97f4a40852..b736c9f4494b 100644 --- a/writerperfect/source/writer/EPUBExportFilter.hxx +++ b/writerperfect/source/writer/EPUBExportFilter.hxx @@ -18,7 +18,8 @@ #include <com/sun/star/document/XExporter.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -#include <tools/gen.hxx> + +class Size; namespace writerperfect { diff --git a/writerperfect/source/writer/EPUBExportUIComponent.cxx b/writerperfect/source/writer/EPUBExportUIComponent.cxx index 65164b67aa1b..e33fdab01972 100644 --- a/writerperfect/source/writer/EPUBExportUIComponent.cxx +++ b/writerperfect/source/writer/EPUBExportUIComponent.cxx @@ -11,7 +11,6 @@ #include <com/sun/star/ui/dialogs/ExecutableDialogResults.hpp> -#include <comphelper/sequence.hxx> #include <cppuhelper/supportsservice.hxx> #include <vcl/svapp.hxx> #include <vcl/vclptr.hxx> diff --git a/writerperfect/source/writer/EPUBExportUIComponent.hxx b/writerperfect/source/writer/EPUBExportUIComponent.hxx index 243e1f8a61fb..202b2d29b523 100644 --- a/writerperfect/source/writer/EPUBExportUIComponent.hxx +++ b/writerperfect/source/writer/EPUBExportUIComponent.hxx @@ -10,8 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EPUBEXPORTUICOMPONENT_HXX -#include <vector> - #include <com/sun/star/beans/XPropertyAccess.hpp> #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/ui/dialogs/XExecutableDialog.hpp> diff --git a/writerperfect/source/writer/EPUBPackage.hxx b/writerperfect/source/writer/EPUBPackage.hxx index 5e093f540cc8..20bd5007a84d 100644 --- a/writerperfect/source/writer/EPUBPackage.hxx +++ b/writerperfect/source/writer/EPUBPackage.hxx @@ -14,7 +14,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/embed/XHierarchicalStorageAccess.hpp> -#include <com/sun/star/uno/Sequence.hxx> +#include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/XComponentContext.hpp> #include <com/sun/star/xml/sax/XWriter.hpp> diff --git a/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx b/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx index 7bd221162bb9..22594f2ddd76 100644 --- a/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx +++ b/writerperfect/source/writer/exp/XMLFootnoteImportContext.hxx @@ -10,6 +10,8 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLFOOTNOTEIMPORTCONTEXT_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLFOOTNOTEIMPORTCONTEXT_HXX +#include <librevenge/librevenge.h> + #include <rtl/ref.hxx> #include "xmlictxt.hxx" diff --git a/writerperfect/source/writer/exp/XMLTextListItemContext.cxx b/writerperfect/source/writer/exp/XMLTextListItemContext.cxx index cbf3462566f0..f75bb782ba6b 100644 --- a/writerperfect/source/writer/exp/XMLTextListItemContext.cxx +++ b/writerperfect/source/writer/exp/XMLTextListItemContext.cxx @@ -11,7 +11,6 @@ #include "XMLTextListContext.hxx" #include "txtparai.hxx" -#include "xmlimp.hxx" using namespace com::sun::star; diff --git a/writerperfect/source/writer/exp/txtparai.hxx b/writerperfect/source/writer/exp/txtparai.hxx index 8a79397e1471..ace8d740397a 100644 --- a/writerperfect/source/writer/exp/txtparai.hxx +++ b/writerperfect/source/writer/exp/txtparai.hxx @@ -12,6 +12,8 @@ #include <map> +#include <librevenge/librevenge.h> + #include "xmlictxt.hxx" namespace writerperfect diff --git a/writerperfect/source/writer/exp/txtstyli.cxx b/writerperfect/source/writer/exp/txtstyli.cxx index e8fe1a43bea0..931fbe459f65 100644 --- a/writerperfect/source/writer/exp/txtstyli.cxx +++ b/writerperfect/source/writer/exp/txtstyli.cxx @@ -10,7 +10,6 @@ #include "txtstyli.hxx" #include "xmlfmt.hxx" -#include "xmlimp.hxx" using namespace com::sun::star; diff --git a/writerperfect/source/writer/exp/xmlfmt.hxx b/writerperfect/source/writer/exp/xmlfmt.hxx index e66f37dc8846..3b0c88616b7c 100644 --- a/writerperfect/source/writer/exp/xmlfmt.hxx +++ b/writerperfect/source/writer/exp/xmlfmt.hxx @@ -12,10 +12,13 @@ #include <map> -#include <librevenge/librevenge.h> - #include "xmlictxt.hxx" +namespace librevenge +{ +class RVNGPropertyList; +} + namespace writerperfect { namespace exp diff --git a/writerperfect/source/writer/exp/xmlictxt.hxx b/writerperfect/source/writer/exp/xmlictxt.hxx index cbdeab0f6898..622daccb368e 100644 --- a/writerperfect/source/writer/exp/xmlictxt.hxx +++ b/writerperfect/source/writer/exp/xmlictxt.hxx @@ -10,8 +10,6 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLICTXT_HXX -#include <librevenge/librevenge.h> - #include <com/sun/star/xml/sax/XDocumentHandler.hpp> #include <cppuhelper/implbase.hxx> diff --git a/writerperfect/source/writer/exp/xmlimp.cxx b/writerperfect/source/writer/exp/xmlimp.cxx index f8defce11dc4..55e922aeaace 100644 --- a/writerperfect/source/writer/exp/xmlimp.cxx +++ b/writerperfect/source/writer/exp/xmlimp.cxx @@ -19,6 +19,7 @@ #include <com/sun/star/xml/sax/Writer.hpp> #include <comphelper/propertyvalue.hxx> #include <rtl/uri.hxx> +#include <tools/gen.hxx> #include <tools/stream.hxx> #include <tools/urlobj.hxx> #include <unotools/streamwrap.hxx> diff --git a/writerperfect/source/writer/exp/xmlimp.hxx b/writerperfect/source/writer/exp/xmlimp.hxx index a6d2a49f1f59..9de89810f458 100644 --- a/writerperfect/source/writer/exp/xmlimp.hxx +++ b/writerperfect/source/writer/exp/xmlimp.hxx @@ -23,7 +23,8 @@ #include <cppuhelper/implbase.hxx> #include <rtl/ref.hxx> -#include <tools/gen.hxx> + +class Size; namespace writerperfect { diff --git a/writerperfect/source/writer/exp/xmltbli.hxx b/writerperfect/source/writer/exp/xmltbli.hxx index 01228ea9cdfe..ed755731e9fc 100644 --- a/writerperfect/source/writer/exp/xmltbli.hxx +++ b/writerperfect/source/writer/exp/xmltbli.hxx @@ -10,6 +10,8 @@ #ifndef INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX #define INCLUDED_WRITERPERFECT_SOURCE_WRITER_EXP_XMLTBLI_HXX +#include <librevenge/librevenge.h> + #include "xmlictxt.hxx" namespace writerperfect |