diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-02-06 22:43:27 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-02-07 10:09:06 +0900 |
commit | e9b89ed9668906ec8c3be932978577997fa0fb7f (patch) | |
tree | 51f72757f349edc238cd8a43671be620fd05459d /sw/source | |
parent | 52e47b6e0ec87a4aa0ee0fd1c8a577be1d97cb95 (diff) |
Remove useless member variable
Change-Id: I6a28c7285786c08cd52cee59f2babcfa336a00d5
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/inc/wrtsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/select.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 3 |
3 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx index 66a71950c1e5..38032bb20e97 100644 --- a/sw/source/ui/inc/wrtsh.hxx +++ b/sw/source/ui/inc/wrtsh.hxx @@ -251,7 +251,6 @@ typedef sal_Bool (SwWrtShell:: *FNSimpleMove)(); void NoEdit(sal_Bool bHideCrsr = sal_True); void Edit(); - sal_Bool IsNoEdit() const { return bNoEdit; } sal_Bool IsRetainSelection() const { return mbRetainSelection; } void SetRetainSelection( sal_Bool bRet ) { mbRetainSelection = bRet; } @@ -557,7 +556,6 @@ private: sal_Bool bAddMode :1; sal_Bool bBlockMode :1; sal_Bool bLayoutMode :1; - sal_Bool bNoEdit :1; sal_Bool bCopy :1; sal_Bool bSelWrd :1; sal_Bool bSelLn :1; diff --git a/sw/source/ui/wrtsh/select.cxx b/sw/source/ui/wrtsh/select.cxx index a4a8bee5502e..0679106a2402 100644 --- a/sw/source/ui/wrtsh/select.cxx +++ b/sw/source/ui/wrtsh/select.cxx @@ -737,7 +737,7 @@ void SwWrtShell::EnterSelFrmMode(const Point *pPos) nStartDragY = pPos->Y(); bStartDrag = sal_True; } - bNoEdit = bLayoutMode = sal_True; + bLayoutMode = sal_True; HideCrsr(); // gleicher Aufruf von BeginDrag an der SwFEShell diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index ab48f158cee3..018c1c32035b 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -128,7 +128,6 @@ using namespace com::sun::star; bInSelect = \ bCopy = \ bLayoutMode = \ - bNoEdit = \ bSelWrd = \ bSelLn = \ mbRetainSelection = sal_False; \ @@ -149,7 +148,6 @@ void SwWrtShell::NoEdit(sal_Bool bHideCrsr) { if(bHideCrsr) HideCrsr(); - bNoEdit = sal_True; } @@ -159,7 +157,6 @@ void SwWrtShell::Edit() if (CanInsert()) { ShowCrsr(); - bNoEdit = sal_False; } } |