diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-21 09:04:54 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-21 10:19:44 +0200 |
commit | b0dcd6dbad43c1f7e45240687735b1127acad3ec (patch) | |
tree | 14c9bbfce399f7c354a447cfd3567c888b653afc | |
parent | 6c5fa17611b8f8f3c94473eabd768f310de3e7ff (diff) |
loplugin: defaultparams
Change-Id: Id6466f7c6d333ecf157c1de4197df394b60d0627
-rw-r--r-- | sw/source/uibase/shells/beziersh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/drawdlg.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drawsh.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drformsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwbassh.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwtxtex.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/drwtxtsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/frmsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/grfsh.cxx | 3 | ||||
-rw-r--r-- | sw/source/uibase/shells/langhelper.cxx | 6 | ||||
-rw-r--r-- | sw/source/uibase/shells/mediash.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/navsh.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textdrw.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textfld.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 10 | ||||
-rw-r--r-- | sw/source/uibase/shells/textsh1.cxx | 18 | ||||
-rw-r--r-- | sw/source/uibase/shells/txtattr.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/shells/txtcrsr.cxx | 50 |
18 files changed, 60 insertions, 61 deletions
diff --git a/sw/source/uibase/shells/beziersh.cxx b/sw/source/uibase/shells/beziersh.cxx index 301a98e17434..fb33ad4ea1d5 100644 --- a/sw/source/uibase/shells/beziersh.cxx +++ b/sw/source/uibase/shells/beziersh.cxx @@ -219,7 +219,7 @@ void SwBezierShell::Execute(SfxRequest &rReq) if (pSdrView->GetModel()->IsChanged()) GetShell().SetModified(); else if (bChanged) - pSdrView->GetModel()->SetChanged(true); + pSdrView->GetModel()->SetChanged(); } void SwBezierShell::GetState(SfxItemSet &rSet) diff --git a/sw/source/uibase/shells/drawdlg.cxx b/sw/source/uibase/shells/drawdlg.cxx index 548085786df0..def6391e8077 100644 --- a/sw/source/uibase/shells/drawdlg.cxx +++ b/sw/source/uibase/shells/drawdlg.cxx @@ -161,7 +161,7 @@ void SwDrawShell::ExecDrawDlg(SfxRequest& rReq) GetShell().SetModified(); else if (bChanged) - pDoc->SetChanged(true); + pDoc->SetChanged(); } void SwDrawShell::ExecDrawAttrArgs(SfxRequest& rReq) @@ -210,7 +210,7 @@ void SwDrawShell::ExecDrawAttrArgs(SfxRequest& rReq) GetShell().SetModified(); else if (bChanged) - pView->GetModel()->SetChanged(true); + pView->GetModel()->SetChanged(); } void SwDrawShell::GetDrawAttrState(SfxItemSet& rSet) diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx index d63451dadc41..d3424f68e54e 100644 --- a/sw/source/uibase/shells/drawsh.cxx +++ b/sw/source/uibase/shells/drawsh.cxx @@ -391,7 +391,7 @@ void SwDrawShell::Execute(SfxRequest &rReq) if (pSdrView->GetModel()->IsChanged()) rSh.SetModified(); else if (bChanged) - pSdrView->GetModel()->SetChanged(true); + pSdrView->GetModel()->SetChanged(); } void SwDrawShell::GetState(SfxItemSet& rSet) @@ -570,7 +570,7 @@ void SwDrawShell::ExecFormText(SfxRequest& rReq) rSh.SetModified(); else if (bChanged) - pDrView->GetModel()->SetChanged(true); + pDrView->GetModel()->SetChanged(); } //Return status values for FontWork diff --git a/sw/source/uibase/shells/drformsh.cxx b/sw/source/uibase/shells/drformsh.cxx index 35d2991ddbba..1f8157fa212a 100644 --- a/sw/source/uibase/shells/drformsh.cxx +++ b/sw/source/uibase/shells/drformsh.cxx @@ -249,7 +249,7 @@ SwDrawFormShell::SwDrawFormShell(SwView &_rView) : SwDrawBaseShell(_rView) { SetHelpId(SW_DRAWFORMSHELL); - GetShell().NoEdit(true); + GetShell().NoEdit(); SetName(OUString("DrawForm")); SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_Form)); } diff --git a/sw/source/uibase/shells/drwbassh.cxx b/sw/source/uibase/shells/drwbassh.cxx index f2312c3da747..67f8202ba8e3 100644 --- a/sw/source/uibase/shells/drwbassh.cxx +++ b/sw/source/uibase/shells/drwbassh.cxx @@ -77,7 +77,7 @@ TYPEINIT1(SwDrawBaseShell,SwBaseShell) SwDrawBaseShell::SwDrawBaseShell(SwView &_rView) : SwBaseShell(_rView) { - GetShell().NoEdit(true); + GetShell().NoEdit(); SwEditWin& rWin = GetView().GetEditWin(); @@ -582,7 +582,7 @@ void SwDrawBaseShell::Execute(SfxRequest &rReq) if (pSdrView->GetModel()->IsChanged()) pSh->SetModified(); else if (bChanged) - pSdrView->GetModel()->SetChanged(true); + pSdrView->GetModel()->SetChanged(); } } diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx index d826f1293649..8f0169240e46 100644 --- a/sw/source/uibase/shells/drwtxtex.cxx +++ b/sw/source/uibase/shells/drwtxtex.cxx @@ -933,7 +933,7 @@ void SwDrawTextShell::GetDrawTextCtrlState(SfxItemSet& rSet) } } if(nEEWhich) - rSet.Put(aEditAttr.Get(nEEWhich, true), nWhich); + rSet.Put(aEditAttr.Get(nEEWhich), nWhich); nWhich = aIter.NextWhich(); } diff --git a/sw/source/uibase/shells/drwtxtsh.cxx b/sw/source/uibase/shells/drwtxtsh.cxx index e081614db9b9..216c412ee96d 100644 --- a/sw/source/uibase/shells/drwtxtsh.cxx +++ b/sw/source/uibase/shells/drwtxtsh.cxx @@ -131,7 +131,7 @@ SwDrawTextShell::SwDrawTextShell(SwView &rV) : Init(); - rSh.NoEdit(true); + rSh.NoEdit(); SetName(OUString("ObjectText")); SetHelpId(SW_DRWTXTSHELL); SfxShell::SetContextName(sfx2::sidebar::EnumContext::GetContextName(sfx2::sidebar::EnumContext::Context_DrawText)); diff --git a/sw/source/uibase/shells/frmsh.cxx b/sw/source/uibase/shells/frmsh.cxx index 9442579a774a..cfa9ffed38ff 100644 --- a/sw/source/uibase/shells/frmsh.cxx +++ b/sw/source/uibase/shells/frmsh.cxx @@ -702,7 +702,7 @@ void SwFrameShell::GetState(SfxItemSet& rSet) case RES_PRINT: case RES_SURROUND: { - rSet.Put(aSet.Get(GetPool().GetWhich(nWhich), true )); + rSet.Put(aSet.Get(GetPool().GetWhich(nWhich))); } break; case SID_OBJECT_ALIGN_LEFT : diff --git a/sw/source/uibase/shells/grfsh.cxx b/sw/source/uibase/shells/grfsh.cxx index c05d1ce924f4..fb4a14d5e20e 100644 --- a/sw/source/uibase/shells/grfsh.cxx +++ b/sw/source/uibase/shells/grfsh.cxx @@ -305,8 +305,7 @@ void SwGrfShell::Execute(SfxRequest &rReq) if( !sGrfNm.isEmpty() ) { aSet.Put( SvxBrushItem( INetURLObject::decode( sGrfNm, - INetURLObject::DECODE_UNAMBIGUOUS, - RTL_TEXTENCODING_UTF8 ), + INetURLObject::DECODE_UNAMBIGUOUS ), sFilterNm, GPOS_LT, SID_ATTR_GRAF_GRAPHIC )); } diff --git a/sw/source/uibase/shells/langhelper.cxx b/sw/source/uibase/shells/langhelper.cxx index 8c45ea30f451..e3b6eaaade12 100644 --- a/sw/source/uibase/shells/langhelper.cxx +++ b/sw/source/uibase/shells/langhelper.cxx @@ -144,20 +144,20 @@ namespace SwLangHelper sal_Int32 nPos = 0; bool bForSelection = true; bool bForParagraph = false; - if (-1 != (nPos = aNewLangText.indexOf( aSelectionLangPrefix, 0 ))) + if (-1 != (nPos = aNewLangText.indexOf( aSelectionLangPrefix ))) { // ... for the current selection aNewLangText = aNewLangText.replaceAt(nPos, aSelectionLangPrefix.getLength(), ""); bForSelection = true; } - else if (-1 != (nPos = aNewLangText.indexOf( aParagraphLangPrefix , 0 ))) + else if (-1 != (nPos = aNewLangText.indexOf( aParagraphLangPrefix ))) { // ... for the current paragraph language aNewLangText = aNewLangText.replaceAt(nPos, aParagraphLangPrefix.getLength(), ""); bForSelection = true; bForParagraph = true; } - else if (-1 != (nPos = aNewLangText.indexOf( aDocumentLangPrefix , 0 ))) + else if (-1 != (nPos = aNewLangText.indexOf( aDocumentLangPrefix ))) { // ... as default document language aNewLangText = aNewLangText.replaceAt(nPos, aDocumentLangPrefix.getLength(), ""); diff --git a/sw/source/uibase/shells/mediash.cxx b/sw/source/uibase/shells/mediash.cxx index 404778bde475..6abddb664f54 100644 --- a/sw/source/uibase/shells/mediash.cxx +++ b/sw/source/uibase/shells/mediash.cxx @@ -142,7 +142,7 @@ void SwMediaShell::ExecMedia(SfxRequest &rReq) if( pSdrView->GetModel()->IsChanged() ) GetShell().SetModified(); else if( bChanged ) - pSdrView->GetModel()->SetChanged(true); + pSdrView->GetModel()->SetChanged(); } } diff --git a/sw/source/uibase/shells/navsh.cxx b/sw/source/uibase/shells/navsh.cxx index 0043e21c940c..c3c37391fda2 100644 --- a/sw/source/uibase/shells/navsh.cxx +++ b/sw/source/uibase/shells/navsh.cxx @@ -69,7 +69,7 @@ void SwNavigationShell::Execute(SfxRequest &rReq) if (pSdrView->GetModel()->IsChanged()) GetShell().SetModified(); else if (bChanged) - pSdrView->GetModel()->SetChanged(true); + pSdrView->GetModel()->SetChanged(); } // determine if the buttons should be enabled/disabled diff --git a/sw/source/uibase/shells/textdrw.cxx b/sw/source/uibase/shells/textdrw.cxx index cef4a08ec2f3..dc833d3131eb 100644 --- a/sw/source/uibase/shells/textdrw.cxx +++ b/sw/source/uibase/shells/textdrw.cxx @@ -52,7 +52,7 @@ void SwBaseShell::InsertURLButton(const OUString& rURL, const OUString& rTarget, SdrView *pSdrView = rSh.GetDrawView(); // OBJ_FM_BUTTON - pSdrView->SetDesignMode(true); + pSdrView->SetDesignMode(); pSdrView->SetCurrentObj(OBJ_FM_BUTTON); pSdrView->SetEditMode(false); diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx index 076e5a5f7902..19f7655fba49 100644 --- a/sw/source/uibase/shells/textfld.cxx +++ b/sw/source/uibase/shells/textfld.cxx @@ -406,7 +406,7 @@ void SwTextShell::ExecField(SfxRequest &rReq) aFieldMgr.InsertField( aData ); rSh.Push(); - rSh.SwCrsrShell::Left(1, CRSR_SKIP_CHARS, false); + rSh.SwCrsrShell::Left(1, CRSR_SKIP_CHARS); pPostIt = static_cast<SwPostItField*>(aFieldMgr.GetCurField()); rSh.Pop(false); // Restore cursor position } diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx index b479261f3cde..c7b04909b90d 100644 --- a/sw/source/uibase/shells/textsh.cxx +++ b/sw/source/uibase/shells/textsh.cxx @@ -156,7 +156,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) break; case FN_INSERT_SOFT_HYPHEN: - if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true, 0 ) && + if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true ) && CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar( true, -1 )) rSh.Insert( OUString( CHAR_SOFTHYPHEN ) ); break; @@ -473,7 +473,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq) // the suggestion has to be removed before GetView().GetEditWin().StopQuickHelp(); SvGlobalName aGlobalName( SO3_SM_CLASSID ); - rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName, true, 0 ); + rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName, true ); } break; @@ -1101,17 +1101,17 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq ) nScript = g_pBreakIt->GetAllScriptsOfText( aChars ); if( SvtScriptType::LATIN & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_FONT); } if( SvtScriptType::ASIAN & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_CJK_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_CJK_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_CJK_FONT ); } if( SvtScriptType::COMPLEX & nScript ) { - aRestoreSet.Put( aSet.Get( RES_CHRATR_CTL_FONT, true ) ); + aRestoreSet.Put( aSet.Get( RES_CHRATR_CTL_FONT ) ); aSet.Put( aNewFontItem, RES_CHRATR_CTL_FONT ); } diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx index 8f5e9cd64124..245a3c038dce 100644 --- a/sw/source/uibase/shells/textsh1.cxx +++ b/sw/source/uibase/shells/textsh1.cxx @@ -368,20 +368,20 @@ void SwTextShell::Execute(SfxRequest &rReq) sal_Int32 nPos = 0; bool bForSelection = true; bool bForParagraph = false; - if (-1 != (nPos = aNewLangText.indexOf( aSelectionLangPrefix, 0 ))) + if (-1 != (nPos = aNewLangText.indexOf( aSelectionLangPrefix ))) { // ... for the current selection aNewLangText = aNewLangText.replaceAt(nPos, aSelectionLangPrefix.getLength(), ""); bForSelection = true; } - else if (-1 != (nPos = aNewLangText.indexOf(aParagraphLangPrefix, 0))) + else if (-1 != (nPos = aNewLangText.indexOf(aParagraphLangPrefix))) { // ... for the current paragraph language aNewLangText = aNewLangText.replaceAt(nPos, aParagraphLangPrefix.getLength(), ""); bForSelection = true; bForParagraph = true; } - else if (-1 != (nPos = aNewLangText.indexOf(aDocumentLangPrefix, 0))) + else if (-1 != (nPos = aNewLangText.indexOf(aDocumentLangPrefix))) { // ... as default document language aNewLangText = aNewLangText.replaceAt(nPos, aDocumentLangPrefix.getLength(), ""); @@ -484,7 +484,7 @@ void SwTextShell::Execute(SfxRequest &rReq) SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "Dialog creation failed!"); boost::scoped_ptr<AbstractInsFootNoteDlg> pDlg(pFact->CreateInsFootNoteDlg( - GetView().GetWindow(), rWrtSh, false)); + GetView().GetWindow(), rWrtSh)); OSL_ENSURE(pDlg, "Dialog creation failed!"); pDlg->SetHelpId(GetStaticInterface()->GetSlot(nSlot)->GetCommand()); if ( pDlg->Execute() == RET_OK ) @@ -1130,7 +1130,7 @@ void SwTextShell::Execute(SfxRequest &rReq) case FN_SELECT_PARA: { if ( !rWrtSh.IsSttOfPara() ) - rWrtSh.SttPara( false ); + rWrtSh.SttPara(); else rWrtSh.EnterStdMode(); rWrtSh.EndPara( true ); @@ -1303,7 +1303,7 @@ void SwTextShell::Execute(SfxRequest &rReq) case FN_NUM_BULLET_MOVEDOWN: if (!rWrtSh.IsAddMode()) - rWrtSh.MoveParagraph(1); + rWrtSh.MoveParagraph(); rReq.Done(); break; @@ -1366,7 +1366,7 @@ void SwTextShell::Execute(SfxRequest &rReq) rWrtSh.GetCurAttr(aSet); if(SfxItemState::SET <= aSet.GetItemState( RES_TXTATR_INETFMT, true )) { - const SwFormatINetFormat& rINetFormat = dynamic_cast<const SwFormatINetFormat&>( aSet.Get(RES_TXTATR_INETFMT, true) ); + const SwFormatINetFormat& rINetFormat = dynamic_cast<const SwFormatINetFormat&>( aSet.Get(RES_TXTATR_INETFMT) ); if( nSlot == FN_COPY_HYPERLINK_LOCATION ) { ::uno::Reference< datatransfer::clipboard::XClipboard > xClipboard = GetView().GetEditWin().GetClipboard(); @@ -1375,7 +1375,7 @@ void SwTextShell::Execute(SfxRequest &rReq) xClipboard ); } else - rWrtSh.ClickToINetAttr(rINetFormat, URLLOAD_NOFILTER); + rWrtSh.ClickToINetAttr(rINetFormat); } } break; @@ -1585,7 +1585,7 @@ void SwTextShell::GetState( SfxItemSet &rSet ) sal_uInt16 nHtmlMode = ::GetHtmlMode( GetView().GetDocShell() ); nHtmlMode &= HTMLMODE_ON | HTMLMODE_SOME_STYLES; if ( ( nHtmlMode == HTMLMODE_ON ) - || !rSh.IsMoveLeftMargin( SID_INC_INDENT == nWhich, true ) ) + || !rSh.IsMoveLeftMargin( SID_INC_INDENT == nWhich ) ) { rSet.DisableItem( nWhich ); } diff --git a/sw/source/uibase/shells/txtattr.cxx b/sw/source/uibase/shells/txtattr.cxx index 5e5162aa6bcc..abb34ee05c52 100644 --- a/sw/source/uibase/shells/txtattr.cxx +++ b/sw/source/uibase/shells/txtattr.cxx @@ -728,7 +728,7 @@ void SwTextShell::GetAttrState(SfxItemSet &rSet) const SfxPoolItem& rItem = aCoreSet.Get(GetPool().GetWhich(nSlot), true); rSet.Put(rItem); #else - rSet.Put(aCoreSet.Get( GetPool().GetWhich(nSlot), true)); + rSet.Put(aCoreSet.Get( GetPool().GetWhich(nSlot))); #endif nSlot = 0; } @@ -749,7 +749,7 @@ void SwTextShell::GetAttrState(SfxItemSet &rSet) { SfxItemSet aSet(GetPool(), RES_TXTATR_INETFMT, RES_TXTATR_INETFMT); rSh.GetCurAttr(aSet); - const SfxPoolItem& rItem = aSet.Get(RES_TXTATR_INETFMT, true); + const SfxPoolItem& rItem = aSet.Get(RES_TXTATR_INETFMT); rSet.Put(rItem); nSlot = 0; } diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx index 40680ef2a0c1..41c4d84aaf6c 100644 --- a/sw/source/uibase/shells/txtcrsr.cxx +++ b/sw/source/uibase/shells/txtcrsr.cxx @@ -144,13 +144,13 @@ void SwTextShell::ExecMove(SfxRequest &rReq) bRet = rSh.SttDoc( true ); break; case FN_START_OF_DOCUMENT: - bRet = rSh.SttDoc( false ); + bRet = rSh.SttDoc(); break; case FN_END_OF_DOCUMENT_SEL: bRet = rSh.EndDoc( true ); break; case FN_END_OF_DOCUMENT: - bRet = rSh.EndDoc( false ); + bRet = rSh.EndDoc(); break; case FN_SELECT_WORD: bRet = rSh.SelNearestWrd(); @@ -183,37 +183,37 @@ void SwTextShell::ExecMovePage(SfxRequest &rReq) rSh.SttNxtPg( true ); break; case FN_START_OF_NEXT_PAGE: - rSh.SttNxtPg( false ); + rSh.SttNxtPg(); break; case FN_END_OF_NEXT_PAGE_SEL: rSh.EndNxtPg( true ); break; case FN_END_OF_NEXT_PAGE: - rSh.EndNxtPg( false ); + rSh.EndNxtPg(); break; case FN_START_OF_PREV_PAGE_SEL: rSh.SttPrvPg( true ); break; case FN_START_OF_PREV_PAGE: - rSh.SttPrvPg( false ); + rSh.SttPrvPg(); break; case FN_END_OF_PREV_PAGE_SEL: rSh.EndPrvPg( true ); break; case FN_END_OF_PREV_PAGE: - rSh.EndPrvPg( false ); + rSh.EndPrvPg(); break; case FN_START_OF_PAGE_SEL: rSh.SttPg( true ); break; case FN_START_OF_PAGE: - rSh.SttPg( false ); + rSh.SttPg(); break; case FN_END_OF_PAGE_SEL: rSh.EndPg( true ); break; case FN_END_OF_PAGE: - rSh.EndPg( false ); + rSh.EndPg(); break; default: OSL_FAIL("wrong dispatcher"); @@ -228,22 +228,22 @@ void SwTextShell::ExecMoveCol(SfxRequest &rReq) switch ( rReq.GetSlot() ) { case FN_START_OF_COLUMN: - rSh.StartOfColumn( false ); + rSh.StartOfColumn(); break; case FN_END_OF_COLUMN: - rSh.EndOfColumn( false ); + rSh.EndOfColumn(); break; case FN_START_OF_NEXT_COLUMN: - rSh.StartOfNextColumn( false ) ; + rSh.StartOfNextColumn() ; break; case FN_END_OF_NEXT_COLUMN: - rSh.EndOfNextColumn( false ); + rSh.EndOfNextColumn(); break; case FN_START_OF_PREV_COLUMN: - rSh.StartOfPrevColumn( false ); + rSh.StartOfPrevColumn(); break; case FN_END_OF_PREV_COLUMN: - rSh.EndOfPrevColumn( false ); + rSh.EndOfPrevColumn(); break; default: OSL_FAIL("wrong dispatcher"); @@ -263,43 +263,43 @@ void SwTextShell::ExecMoveLingu(SfxRequest &rReq) rSh.NxtWrd( true ); break; case FN_NEXT_WORD: - rSh.NxtWrd( false ); + rSh.NxtWrd(); break; case FN_START_OF_PARA_SEL: rSh.SttPara( true ); break; case FN_START_OF_PARA: - rSh.SttPara( false ); + rSh.SttPara(); break; case FN_END_OF_PARA_SEL: rSh.EndPara( true ); break; case FN_END_OF_PARA: - rSh.EndPara( false ); + rSh.EndPara(); break; case FN_PREV_WORD_SEL: rSh.PrvWrd( true ); break; case FN_PREV_WORD: - rSh.PrvWrd( false ); + rSh.PrvWrd(); break; case FN_NEXT_SENT_SEL: rSh.FwdSentence( true ); break; case FN_NEXT_SENT: - rSh.FwdSentence( false ); + rSh.FwdSentence(); break; case FN_PREV_SENT_SEL: rSh.BwdSentence( true ); break; case FN_PREV_SENT: - rSh.BwdSentence( false ); + rSh.BwdSentence(); break; case FN_NEXT_PARA: - rSh.FwdPara( false ); + rSh.FwdPara(); break; case FN_PREV_PARA: - rSh.BwdPara( false ); + rSh.BwdPara(); break; default: OSL_FAIL("wrong dispatcher"); @@ -409,16 +409,16 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq) bRet = rSh.MoveRegion(fnRegionPrev, fnRegionStart); break; case FN_NEXT_TOXMARK: - bRet = rSh.GotoNxtPrvTOXMark( true ); + bRet = rSh.GotoNxtPrvTOXMark(); break; case FN_PREV_TOXMARK: bRet = rSh.GotoNxtPrvTOXMark( false ); break; case FN_NEXT_TBLFML: - bRet = rSh.GotoNxtPrvTableFormula( true, false ); + bRet = rSh.GotoNxtPrvTableFormula( true ); break; case FN_PREV_TBLFML: - bRet = rSh.GotoNxtPrvTableFormula( false, false ); + bRet = rSh.GotoNxtPrvTableFormula( false ); break; case FN_NEXT_TBLFML_ERR: bRet = rSh.GotoNxtPrvTableFormula( true, true ); |