[PATCH] include cleanup

Matteo Casalin (via Code Review) gerrit at gerrit.libreoffice.org
Sun Jun 9 01:21:34 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4209

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/09/4209/1

include cleanup

Change-Id: I7818fe1f6acedc40b1bdd59cfa7e8fe23a6c685e
---
M sw/inc/txtfld.hxx
M sw/inc/unocrsrhelper.hxx
M sw/inc/unotextrange.hxx
M sw/source/core/txtnode/atrfld.cxx
M sw/source/filter/html/swhtml.hxx
M sw/source/ui/inc/uiitems.hxx
6 files changed, 2 insertions(+), 6 deletions(-)



diff --git a/sw/inc/txtfld.hxx b/sw/inc/txtfld.hxx
index b1e4975..5368aa5 100644
--- a/sw/inc/txtfld.hxx
+++ b/sw/inc/txtfld.hxx
@@ -21,7 +21,6 @@
 
 #include <txatbase.hxx>
 #include <tools/string.hxx>
-#include <pam.hxx>
 
 class SwTxtNode;
 
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index b882582..7863d57 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -35,7 +35,6 @@
 struct SfxItemPropertySimpleEntry;
 class SdrObject;
 class SwTxtNode;
-class SwPaM;
 class SwCursor;
 class SwUnoCrsr;
 class SwUnoTableCrsr;
diff --git a/sw/inc/unotextrange.hxx b/sw/inc/unotextrange.hxx
index 6d0e8f0..2370345 100644
--- a/sw/inc/unotextrange.hxx
+++ b/sw/inc/unotextrange.hxx
@@ -38,8 +38,6 @@
 
 
 class SwDoc;
-struct SwPosition;
-class SwPaM;
 class SwUnoCrsr;
 class SwFrmFmt;
 
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index 06f3649..e6734e4 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -24,6 +24,7 @@
 #include <docufld.hxx>
 #include <doc.hxx>
 
+#include "pam.hxx"
 #include "reffld.hxx"
 #include "ddefld.hxx"
 #include "usrfld.hxx"
diff --git a/sw/source/filter/html/swhtml.hxx b/sw/source/filter/html/swhtml.hxx
index 33af70b..d3e0ab4 100644
--- a/sw/source/filter/html/swhtml.hxx
+++ b/sw/source/filter/html/swhtml.hxx
@@ -25,7 +25,6 @@
 #include <fmtornt.hxx>
 #include <com/sun/star/drawing/XShape.hpp>
 #include <com/sun/star/form/XFormComponent.hpp>
-#include <pam.hxx>
 
 #include "calbck.hxx"
 #include "htmlvsh.hxx"
diff --git a/sw/source/ui/inc/uiitems.hxx b/sw/source/ui/inc/uiitems.hxx
index eeb7385..c10bde2 100644
--- a/sw/source/ui/inc/uiitems.hxx
+++ b/sw/source/ui/inc/uiitems.hxx
@@ -23,10 +23,10 @@
 #include "swdllapi.h"
 #include "cmdid.h"
 #include "pagedesc.hxx"
-#include "pam.hxx"
 
 class SwNumRule;
 class IntlWrapper;
+class SwPaM;
 
 /*--------------------------------------------------------------------
     Description: container for FootNote

-- 
To view, visit https://gerrit.libreoffice.org/4209
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7818fe1f6acedc40b1bdd59cfa7e8fe23a6c685e
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Matteo Casalin <matteo.casalin at yahoo.com>



More information about the LibreOffice mailing list