summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-09-21 22:30:35 +0900
committerMichael Stahl <mstahl@redhat.com>2016-09-22 12:49:21 +0000
commit875c5905c71635c8e75d0756cc86d953523726e2 (patch)
treed3e4b4f3746e3544a433e89d7c69c7ea36fb22ac /sw
parentfd22e36ff53c448d1d7831b0ac66ecc29621ff9e (diff)
sw: Clean up forward declarations
Change-Id: I02eb887101f2ebe9eb5abe8e2291f8cf5d79d2ce Reviewed-on: https://gerrit.libreoffice.org/29141 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/swatrset.hxx2
-rw-r--r--sw/inc/viewsh.hxx1
-rw-r--r--sw/source/core/inc/flyfrm.hxx1
-rw-r--r--sw/source/core/inc/frame.hxx4
-rw-r--r--sw/source/core/inc/frmtool.hxx2
5 files changed, 1 insertions, 9 deletions
diff --git a/sw/inc/swatrset.hxx b/sw/inc/swatrset.hxx
index ac101784c5b5..42c5ba2aafae 100644
--- a/sw/inc/swatrset.hxx
+++ b/sw/inc/swatrset.hxx
@@ -74,8 +74,6 @@ class SwFormatHoriOrient;
class SwFormatAnchor;
class SvxBoxItem;
class SvxBrushItem;
-class XFillStyleItem;
-class XFillGradientItem;
class SvxShadowItem;
class SwFormatPageDesc;
class SvxFormatBreakItem;
diff --git a/sw/inc/viewsh.hxx b/sw/inc/viewsh.hxx
index 033bda7eea6e..a32babef0f8f 100644
--- a/sw/inc/viewsh.hxx
+++ b/sw/inc/viewsh.hxx
@@ -91,7 +91,6 @@ namespace vcl
#define VSHELLFLAG_SHARELAYOUT ((long)0x2)
typedef std::shared_ptr<SwRootFrame> SwRootFramePtr;
-class SwViewShell;
class SW_DLLPUBLIC SwViewShell : public sw::Ring<SwViewShell>
{
friend void SetOutDev( SwViewShell *pSh, OutputDevice *pOut );
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index 7c610cfc490c..d207bb0f6f43 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -34,6 +34,7 @@ class SwAttrSetChg;
namespace tools { class PolyPolygon; }
class SwFlyDrawContact;
class SwFormat;
+class SwViewShell;
#include <anchoredobject.hxx>
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index ae4242fd8a2a..fe43d483b6a4 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_SOURCE_CORE_INC_FRAME_HXX
#define INCLUDED_SW_SOURCE_CORE_INC_FRAME_HXX
-#include <vector>
#include <drawinglayer/primitive2d/baseprimitive2d.hxx>
#include <drawinglayer/processor2d/baseprocessor2d.hxx>
#include <editeng/borderline.hxx>
@@ -46,13 +45,10 @@ class SwFlowFrame;
class SwContentFrame;
class SfxPoolItem;
class SwAttrSet;
-class SwViewShell;
class Color;
class SwBorderAttrs;
class SwCache;
class SvxBrushItem;
-class XFillStyleItem;
-class XFillGradientItem;
class SwSelectionList;
struct SwPosition;
struct SwCursorMoveState;
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index 9e8232e4ce2c..6885a6b9bbd3 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -36,8 +36,6 @@ class SwDoc;
class SwAttrSet;
class SdrObject;
class SvxBrushItem;
-class XFillStyleItem;
-class XFillGradientItem;
class SdrMarkList;
class SwNodeIndex;
class OutputDevice;