diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-09 09:11:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-05-09 15:45:20 +0200 |
commit | 6e890cf0a75e937128260c91ea0183b826d7059c (patch) | |
tree | daf203a700131f4abd2a82942b4cfe9d701eef39 /sw/source/filter | |
parent | 536bd91e1910ea4cc9aeea123b00785b76063984 (diff) |
Fix some IWYU warnings
Change-Id: Iab61e0a7cac2dc89e6b04875a62894b181aa0ff4
Reviewed-on: https://gerrit.libreoffice.org/54016
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/source/filter')
-rw-r--r-- | sw/source/filter/html/htmlreqifreader.cxx | 1 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.hxx | 7 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxtablestyleexport.hxx | 15 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfexportfilter.hxx | 15 |
4 files changed, 31 insertions, 7 deletions
diff --git a/sw/source/filter/html/htmlreqifreader.cxx b/sw/source/filter/html/htmlreqifreader.cxx index 077483ab158b..e08de4c4ee54 100644 --- a/sw/source/filter/html/htmlreqifreader.cxx +++ b/sw/source/filter/html/htmlreqifreader.cxx @@ -11,7 +11,6 @@ #include <comphelper/scopeguard.hxx> #include <filter/msfilter/rtfutil.hxx> -#include <rtl/character.hxx> #include <rtl/strbuf.hxx> #include <sot/storage.hxx> #include <svtools/parrtf.hxx> diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx index 25c0398cdbdb..08fdf8649818 100644 --- a/sw/source/filter/ww8/docxsdrexport.hxx +++ b/sw/source/filter/ww8/docxsdrexport.hxx @@ -13,10 +13,13 @@ #include <memory> #include <rtl/strbuf.hxx> -#include <rtl/ref.hxx> #include <sax/fshelper.hxx> #include <tools/solar.h> +namespace rtl +{ +template <typename> class Reference; +} namespace oox { namespace drawingml @@ -25,7 +28,6 @@ class DrawingML; } } class Size; -class Point; class SdrObject; class SvxBoxItem; @@ -34,7 +36,6 @@ namespace ww8 class Frame; } class SwFrameFormat; -class SwNode; class DocxExport; diff --git a/sw/source/filter/ww8/docxtablestyleexport.hxx b/sw/source/filter/ww8/docxtablestyleexport.hxx index 3746203f8e4e..843ed7cefcdb 100644 --- a/sw/source/filter/ww8/docxtablestyleexport.hxx +++ b/sw/source/filter/ww8/docxtablestyleexport.hxx @@ -12,10 +12,21 @@ #include <memory> -#include <com/sun/star/beans/PropertyValue.hpp> - #include <sax/fshelper.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace beans +{ +struct PropertyValue; +} +} +} +} class SwDoc; /// Handles DOCX export of table styles, based on InteropGrabBag. diff --git a/sw/source/filter/ww8/rtfexportfilter.hxx b/sw/source/filter/ww8/rtfexportfilter.hxx index e8cd635585c6..56172b107037 100644 --- a/sw/source/filter/ww8/rtfexportfilter.hxx +++ b/sw/source/filter/ww8/rtfexportfilter.hxx @@ -22,10 +22,23 @@ #include <com/sun/star/document/XFilter.hpp> #include <com/sun/star/document/XExporter.hpp> -#include <com/sun/star/uno/XComponentContext.hpp> #include <cppuhelper/implbase.hxx> #include <shellio.hxx> +namespace com +{ +namespace sun +{ +namespace star +{ +namespace uno +{ +class XComponentContext; +} +} +} +} + /// Dummy Writer implementation to be able to use the string format methods of the base class class RtfWriter : public Writer { |