[Libreoffice-commits] .: sw/source
Caolán McNamara
caolan at kemper.freedesktop.org
Wed Jan 26 12:12:47 PST 2011
sw/source/ui/shells/txtcrsr.cxx | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
New commits:
commit f3bd7b6163127c7db353515932f7891f6d9384dc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Jan 26 16:11:43 2011 +0000
WaE: gcc 4.6.0 various warnings
diff --git a/sw/source/ui/shells/txtcrsr.cxx b/sw/source/ui/shells/txtcrsr.cxx
index 3cf887b..6f9c962 100644
--- a/sw/source/ui/shells/txtcrsr.cxx
+++ b/sw/source/ui/shells/txtcrsr.cxx
@@ -199,37 +199,36 @@ void SwTextShell::ExecMoveLingu(SfxRequest &rReq)
GetView().GetEditWin().FlushInBuffer();
USHORT nSlot = rReq.GetSlot();
- BOOL bRet = FALSE;
switch ( nSlot )
{
case FN_NEXT_WORD_SEL:
- case FN_NEXT_WORD: bRet = rSh.NxtWrd( FN_NEXT_WORD_SEL == nSlot );
+ case FN_NEXT_WORD: rSh.NxtWrd( FN_NEXT_WORD_SEL == nSlot );
break;
case FN_START_OF_PARA_SEL:
- case FN_START_OF_PARA: bRet = rSh.SttPara( FN_START_OF_PARA_SEL == nSlot );
+ case FN_START_OF_PARA: rSh.SttPara( FN_START_OF_PARA_SEL == nSlot );
break;
case FN_END_OF_PARA_SEL:
- case FN_END_OF_PARA: bRet = rSh.EndPara( FN_END_OF_PARA_SEL == nSlot );
+ case FN_END_OF_PARA: rSh.EndPara( FN_END_OF_PARA_SEL == nSlot );
break;
case FN_PREV_WORD_SEL:
- case FN_PREV_WORD: bRet = rSh.PrvWrd( FN_PREV_WORD_SEL == nSlot );
+ case FN_PREV_WORD: rSh.PrvWrd( FN_PREV_WORD_SEL == nSlot );
break;
case FN_NEXT_SENT_SEL:
- case FN_NEXT_SENT: bRet = rSh.FwdSentence( FN_NEXT_SENT_SEL == nSlot );
+ case FN_NEXT_SENT: rSh.FwdSentence( FN_NEXT_SENT_SEL == nSlot );
break;
case FN_PREV_SENT_SEL:
- case FN_PREV_SENT: bRet = rSh.BwdSentence( FN_PREV_SENT_SEL == nSlot );
+ case FN_PREV_SENT: rSh.BwdSentence( FN_PREV_SENT_SEL == nSlot );
break;
- case FN_NEXT_PARA: bRet = rSh.FwdPara ( FALSE );
+ case FN_NEXT_PARA: rSh.FwdPara ( FALSE );
break;
- case FN_PREV_PARA: bRet = rSh.BwdPara ( FALSE );
+ case FN_PREV_PARA: rSh.BwdPara ( FALSE );
break;
default: OSL_ENSURE(false, "wrong dispatcher"); return;
}
More information about the Libreoffice-commits
mailing list