summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@gmx.com>2012-12-25 15:18:26 +0100
committerMichael Stahl <mstahl@redhat.com>2013-01-07 13:14:57 +0000
commita4c7ded1fd2a879e66760a8fc3846af538da4b9d (patch)
tree128cbfa620ba4de837f78d7f831951a73c1f7b25 /sw/source
parent07969f6effe89b8cdc65764135337054751f280e (diff)
Cleanup: #include <tools/gen.hxx>
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/crsr/pam.cxx1
-rw-r--r--sw/source/core/docnode/node.cxx1
-rw-r--r--sw/source/core/fields/postithelper.cxx4
-rw-r--r--sw/source/core/inc/fntcache.hxx1
-rw-r--r--sw/source/core/inc/swfont.hxx1
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx1
6 files changed, 7 insertions, 2 deletions
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index baf62ad58ba3..e9b78020808e 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <tools/gen.hxx>
#include <hintids.hxx>
#include <editeng/protitem.hxx>
#include <cntfrm.hxx>
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 132282fa175f..a97261150a36 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -21,6 +21,7 @@
#include <hintids.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/protitem.hxx>
+#include <tools/gen.hxx>
#include <com/sun/star/i18n/CharacterIteratorMode.hpp>
#include <fmtcntnt.hxx>
#include <fmtanchr.hxx>
diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx
index 326490b0fef0..570631947042 100644
--- a/sw/source/core/fields/postithelper.cxx
+++ b/sw/source/core/fields/postithelper.cxx
@@ -18,8 +18,6 @@
*/
-#include <tools/gen.hxx>
-
#include <postithelper.hxx>
#include <PostItMgr.hxx>
#include <AnnotationWin.hxx>
@@ -39,6 +37,8 @@
#include <editeng/charhiddenitem.hxx>
#include <switerator.hxx>
+class Point;
+
namespace {
struct LayoutInfoOrder
diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx
index 2206d2865398..7d2981b9ba3f 100644
--- a/sw/source/core/inc/fntcache.hxx
+++ b/sw/source/core/inc/fntcache.hxx
@@ -32,6 +32,7 @@ class SwDrawTextInfo;
class ViewShell;
class SwSubFont;
class MapMode;
+class Point;
class SwFntCache : public SwCache
{
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index fd94e33ee622..cb8011333343 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -22,6 +22,7 @@
#include <i18npool/lang.h>
#include <tools/color.hxx>
#include <tools/stream.hxx>
+#include <tools/gen.hxx>
#include <editeng/svxfont.hxx>
#include <swtypes.hxx>
#include <drawfont.hxx> // SwDrawTextInfo
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 621f5fc83ea7..6b3e5b5be023 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -33,6 +33,7 @@
// --> #i32795#
// template class <std::vector>
#include <vector>
+#include <tools/gen.hxx>
// --> #i28749#
#include <com/sun/star/text/PositionLayoutDir.hpp>