From 99e7dda50bc73f973381b2b8765c4f2ac1309c7e Mon Sep 17 00:00:00 2001
From: Philipp Riemer <ruderphilipp@gmail.com>
Date: Thu, 7 Jun 2012 14:29:48 +0200
Subject: [PATCH 2/3] 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 <>)
---
 sw/source/core/inc/dflyobj.hxx  |    1 -
 sw/source/core/inc/frame.hxx    |    3 ---
 sw/source/core/inc/frmtool.hxx  |    1 -
 sw/source/core/inc/layouter.hxx |    1 -
 4 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index f7b23d9..fed3aff 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 b1ad339..218be38 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 abf3d2b..e599d92 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 4350b95..192364c 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;
-- 
1.7.7.6

