diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-12-16 23:29:31 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-01-02 10:11:36 +0100 |
commit | 4c67813d710ea17b31ec01bb9d3ed7a0b8ddc82f (patch) | |
tree | 0e1cf72034c10018eeead04bc705f928d2ebd2bc /sd/source/ui/annotations | |
parent | 927c42e080221c833fd418e9cfd6d18acc7d63c0 (diff) |
tdf#42949 Fix IWYU warnings in sd/source/ui/[a-r]*/*hxx
Found with bin/find-unneeded-includes
Only removal proposals are dealt with here.
Change-Id: I0d9cee1cd17e168522f6161c515a325e5edf1496
Reviewed-on: https://gerrit.libreoffice.org/65234
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sd/source/ui/annotations')
-rw-r--r-- | sd/source/ui/annotations/annotationmanager.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/annotations/annotationmanagerimpl.hxx | 10 | ||||
-rw-r--r-- | sd/source/ui/annotations/annotationtag.hxx | 5 | ||||
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 1 | ||||
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.hxx | 7 |
5 files changed, 12 insertions, 13 deletions
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx index b1d117f87f09..f98c4c4d313f 100644 --- a/sd/source/ui/annotations/annotationmanager.cxx +++ b/sd/source/ui/annotations/annotationmanager.cxx @@ -26,6 +26,7 @@ #include <com/sun/star/geometry/RealPoint2D.hpp> #include <com/sun/star/text/XText.hpp> #include <com/sun/star/document/XEventBroadcaster.hpp> +#include <com/sun/star/office/XAnnotationAccess.hpp> #include <comphelper/lok.hxx> #include <svx/svxids.hrc> @@ -77,6 +78,7 @@ #include <DrawController.hxx> #include <sdresid.hxx> #include <EventMultiplexer.hxx> +#include <ViewShellBase.hxx> #include <ViewShellManager.hxx> #include <sdpage.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/annotations/annotationmanagerimpl.hxx b/sd/source/ui/annotations/annotationmanagerimpl.hxx index daee8b8df347..19c0ce21929e 100644 --- a/sd/source/ui/annotations/annotationmanagerimpl.hxx +++ b/sd/source/ui/annotations/annotationmanagerimpl.hxx @@ -21,24 +21,26 @@ #define INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONMANAGERIMPL_HXX #include <com/sun/star/document/XEventListener.hpp> -#include <com/sun/star/office/XAnnotationAccess.hpp> -#include <com/sun/star/drawing/XDrawView.hpp> #include <rtl/ustring.hxx> #include <cppuhelper/basemutex.hxx> #include <cppuhelper/compbase.hxx> -#include <ViewShellBase.hxx> - #include "annotationtag.hxx" +namespace com { namespace sun { namespace star { namespace drawing { class XDrawView; } } } } +namespace com { namespace sun { namespace star { namespace office { class XAnnotationAccess; } } } } +namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } } + class SfxRequest; class SdPage; +class SdDrawDocument; namespace sd { +class ViewShellBase; typedef std::vector< rtl::Reference< AnnotationTag > > AnnotationTagVector; namespace tools { diff --git a/sd/source/ui/annotations/annotationtag.hxx b/sd/source/ui/annotations/annotationtag.hxx index f2fe252cd761..2f843609ec29 100644 --- a/sd/source/ui/annotations/annotationtag.hxx +++ b/sd/source/ui/annotations/annotationtag.hxx @@ -20,11 +20,10 @@ #ifndef INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONTAG_HXX #define INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONTAG_HXX -#include <com/sun/star/office/XAnnotation.hpp> -#include <basegfx/polygon/b2dpolypolygon.hxx> -#include <basegfx/polygon/b2dpolypolygontools.hxx> #include <smarttag.hxx> +namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } } + namespace sd { class View; diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index 757cda4e8727..29d21d46e301 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -77,6 +77,7 @@ #include "annotationwindow.hxx" #include "annotationmanagerimpl.hxx" +#include <com/sun/star/office/XAnnotation.hpp> #include <DrawDocShell.hxx> #include <ViewShell.hxx> #include <drawdoc.hxx> diff --git a/sd/source/ui/annotations/annotationwindow.hxx b/sd/source/ui/annotations/annotationwindow.hxx index b4767b08be86..10e055d01a08 100644 --- a/sd/source/ui/annotations/annotationwindow.hxx +++ b/sd/source/ui/annotations/annotationwindow.hxx @@ -20,16 +20,12 @@ #ifndef INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONWINDOW_HXX #define INCLUDED_SD_SOURCE_UI_ANNOTATIONS_ANNOTATIONWINDOW_HXX -#include <com/sun/star/office/XAnnotation.hpp> - #include <vcl/ctrl.hxx> -#include <vcl/lineinfo.hxx> #include <vcl/floatwin.hxx> #include <basegfx/polygon/b2dpolygon.hxx> -#include <svx/sdr/overlay/overlayobject.hxx> -#include <editeng/editstat.hxx> +namespace com { namespace sun { namespace star { namespace office { class XAnnotation; } } } } class OutlinerView; class Outliner; @@ -44,7 +40,6 @@ class AnnotationManagerImpl; class AnnotationWindow; class DrawDocShell; class TextApiObject; -class View; class AnnotationTextWindow : public Control { |