summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-29 14:46:39 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-06-29 14:49:19 +0000
commit42486dde49d9a9494c1f4889bbccde1f5aecd91e (patch)
tree8939d9e9f182ab9483775c4c6b84e85bb2208dde /lotuswordpro
parentd5b05cafdec62209803e38010b3354660e3e67cd (diff)
move #includes to top of file
instead of being randomly embedded somewhere deep inside the CXX code. Found with: git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t : Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a Reviewed-on: https://gerrit.libreoffice.org/26764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpdoc.cxx2
-rw-r--r--lotuswordpro/source/filter/lwpfont.cxx3
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx3
-rw-r--r--lotuswordpro/source/filter/lwplaypiece.cxx5
4 files changed, 6 insertions, 7 deletions
diff --git a/lotuswordpro/source/filter/lwpdoc.cxx b/lotuswordpro/source/filter/lwpdoc.cxx
index 540f978c1e72..f238f8b98125 100644
--- a/lotuswordpro/source/filter/lwpdoc.cxx
+++ b/lotuswordpro/source/filter/lwpdoc.cxx
@@ -65,6 +65,7 @@
#include "lwpsilverbullet.hxx"
#include "lwplayout.hxx"
#include "lwppagelayout.hxx"
+#include "lwpverdocument.hxx"
#include "xfilter/xfstylemanager.hxx"
#include <osl/thread.h>
@@ -385,7 +386,6 @@ void LwpDocument::RegisterFootnoteStyles()
/**
* @descr Register default para styles
*/
-#include "lwpverdocument.hxx"
void LwpDocument::RegisterDefaultParaStyles()
{
if(!IsChildDoc())
diff --git a/lotuswordpro/source/filter/lwpfont.cxx b/lotuswordpro/source/filter/lwpfont.cxx
index 437a9620034b..6d2bf8cdff5b 100644
--- a/lotuswordpro/source/filter/lwpfont.cxx
+++ b/lotuswordpro/source/filter/lwpfont.cxx
@@ -57,6 +57,7 @@
#include "lwpfont.hxx"
#include "xfilter/xfstylemanager.hxx"
#include "xfilter/xffontfactory.hxx"
+#include "xfilter/xftextstyle.hxx"
void LwpFontAttrEntry::Read(LwpObjectStream *pStrm)
{
@@ -445,8 +446,6 @@ void LwpFontManager::Read(LwpObjectStream *pStrm)
}
-#include "xfilter/xftextstyle.hxx"
-
/*
VO_PARASTYLE call this method to add its style to XFStyleManager based on the fontID
1. Construct the text style based on the fontID
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index 3845024bf401..4a3f84f44027 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -61,6 +61,7 @@
#include "lwplayout.hxx"
#include "lwpusewhen.hxx"
#include "lwptools.hxx"
+#include "lwplaypiece.hxx"
#include "xfilter/xfcolumns.hxx"
#include "lwpstory.hxx"
#include "lwpparastyle.hxx"
@@ -636,8 +637,6 @@ rtl::Reference<LwpObject> LwpMiddleLayout::GetBasedOnStyle()
return xRet;
}
-#include "lwplaypiece.hxx"
-
/**
* @descr: Get the geometry of current layout
*
diff --git a/lotuswordpro/source/filter/lwplaypiece.cxx b/lotuswordpro/source/filter/lwplaypiece.cxx
index 0265cc007df2..3fe57508fd5f 100644
--- a/lotuswordpro/source/filter/lwplaypiece.cxx
+++ b/lotuswordpro/source/filter/lwplaypiece.cxx
@@ -59,8 +59,10 @@
************************************************************************/
#include "lwplaypiece.hxx"
-
+#include "lwpstyledef.hxx"
#include "lwpfilehdr.hxx"
+
+
LwpRotor::LwpRotor()
: m_nRotation(0)
{}
@@ -345,7 +347,6 @@ LwpJoinStuff::LwpJoinStuff()
LwpJoinStuff::~LwpJoinStuff()
{}
-#include "lwpstyledef.hxx"
void LwpJoinStuff:: Read(LwpObjectStream *pStrm)
{
m_nWidth = pStrm->QuickReadInt32();