summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2012-06-07 14:29:48 +0200
committerPhilipp Weissenbacher <p.weissenbacher@gmail.com>2012-06-13 20:29:21 +0200
commitfc1ca84b494c30ce0bf50f9025f56d4763b4a9ac (patch)
treec0dd6c146b3fa0708fc3b1aa3eaff0af0612e294
parentminor code cleanups in sw/source/core/inc (diff)
downloadcore-fc1ca84b494c30ce0bf50f9025f56d4763b4a9ac.tar.gz
core-fc1ca84b494c30ce0bf50f9025f56d4763b4a9ac.zip
delete useless code in sw/source/code/inc
- frame.hxx: git grep shows that variable is not used anywhere - dflyobj.hxx, frmtool.hxx: redundant visibility declaration - layouter.hxx: redundant include (once with "" and once with <>)
-rw-r--r--sw/source/core/inc/dflyobj.hxx1
-rw-r--r--sw/source/core/inc/frame.hxx3
-rw-r--r--sw/source/core/inc/frmtool.hxx1
-rw-r--r--sw/source/core/inc/layouter.hxx1
4 files changed, 0 insertions, 6 deletions
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index f7b23d965e61..fed3affe24d8 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -87,7 +87,6 @@ public:
basegfx::B2DRange getOuterBound() const;
basegfx::B2DRange getInnerBound() const;
-public:
TYPEINFO();
SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly);
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index b1ad339afae5..218be3854e20 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -368,9 +368,6 @@ protected:
sal_Bool bCompletePaint : 1;
sal_Bool bRetouche : 1; // frame is responsible for retouching
-public:
- sal_Bool bUnUsed2 : 1;
-
protected:
sal_Bool bInfInvalid : 1; // InfoFlags are invalid
sal_Bool bInfBody : 1; // Frm is in document body
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index abf3d2bf27b1..e599d92c0fd3 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -158,7 +158,6 @@ protected:
sal_Bool bHadFollow;
sal_Bool bInvaKeep;
sal_Bool bValidSize;
-protected:
// #i49383#
bool mbFrmDeleted;
diff --git a/sw/source/core/inc/layouter.hxx b/sw/source/core/inc/layouter.hxx
index 4350b95a8a8a..192364c57c83 100644
--- a/sw/source/core/inc/layouter.hxx
+++ b/sw/source/core/inc/layouter.hxx
@@ -50,7 +50,6 @@ class SwAnchoredObject;
#include <vector>
class SwFrm;
// --> #i65250#
-#include <swtypes.hxx>
#include <boost/unordered_map.hpp>
class SwFlowFrm;
class SwLayoutFrm;