sw/source/ui/inc/wrtsh.hxx | 2 -- sw/source/ui/wrtsh/select.cxx | 2 +- sw/source/ui/wrtsh/wrtsh1.cxx | 3 --- 3 files changed, 1 insertion(+), 6 deletions(-)
New commits: commit e9b89ed9668906ec8c3be932978577997fa0fb7f Author: Takeshi Abe <t...@fixedpoint.jp> Date: Wed Feb 6 22:43:27 2013 +0900 Remove useless member variable Change-Id: I6a28c7285786c08cd52cee59f2babcfa336a00d5 diff --git a/sw/source/ui/inc/wrtsh.hxx b/sw/source/ui/inc/wrtsh.hxx index 66a7195..38032bb 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 a4a8bee..0679106 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 ab48f15..018c1c3 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; } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits