summaryrefslogtreecommitdiff
path: root/sw/source/uibase
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:51:46 +0200
commit3b7609446ba50b6181843ce05f48c100087f3006 (patch)
tree8d75eb6130056197ff31391a2891d4919ca0fcef /sw/source/uibase
parenta003d8c59d0324ab3f44ec608f473e654ce48902 (diff)
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/uibase')
-rw-r--r--sw/source/uibase/docvw/HeaderFooterWin.cxx4
-rw-r--r--sw/source/uibase/docvw/PostItMgr.cxx2
-rw-r--r--sw/source/uibase/docvw/edtdd.cxx3
-rw-r--r--sw/source/uibase/docvw/edtwin.cxx22
-rw-r--r--sw/source/uibase/docvw/romenu.cxx2
-rw-r--r--sw/source/uibase/docvw/srcedtw.cxx2
-rw-r--r--sw/source/uibase/frmdlg/colex.cxx4
-rw-r--r--sw/source/uibase/shells/annotsh.cxx2
-rw-r--r--sw/source/uibase/shells/basesh.cxx4
-rw-r--r--sw/source/uibase/shells/drwtxtex.cxx4
-rw-r--r--sw/source/uibase/shells/tabsh.cxx2
-rw-r--r--sw/source/uibase/shells/textsh.cxx6
-rw-r--r--sw/source/uibase/shells/textsh1.cxx8
-rw-r--r--sw/source/uibase/shells/txtcrsr.cxx6
-rw-r--r--sw/source/uibase/table/tablemgr.cxx2
-rw-r--r--sw/source/uibase/uiview/scroll.cxx2
-rw-r--r--sw/source/uibase/uiview/view.cxx2
-rw-r--r--sw/source/uibase/uiview/view2.cxx2
-rw-r--r--sw/source/uibase/uiview/viewdraw.cxx2
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
-rw-r--r--sw/source/uibase/utlui/content.cxx2
-rw-r--r--sw/source/uibase/utlui/glbltree.cxx4
-rw-r--r--sw/source/uibase/wrtsh/select.cxx4
-rw-r--r--sw/source/uibase/wrtsh/wrtsh2.cxx4
24 files changed, 48 insertions, 49 deletions
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index a2577777d6ae..c0ef493cc4f4 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -510,8 +510,8 @@ IMPL_LINK_NOARG_TYPED(SwHeaderFooterWin, FadeHandler, Timer *, void)
if (m_nFadeRate != 100 && !IsVisible())
{
- Show(true);
- m_pLine->Show(true);
+ Show();
+ m_pLine->Show();
}
else if (m_nFadeRate == 100 && IsVisible())
{
diff --git a/sw/source/uibase/docvw/PostItMgr.cxx b/sw/source/uibase/docvw/PostItMgr.cxx
index bfe146a685f5..d06acb2f7a72 100644
--- a/sw/source/uibase/docvw/PostItMgr.cxx
+++ b/sw/source/uibase/docvw/PostItMgr.cxx
@@ -321,7 +321,7 @@ void SwPostItMgr::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
{
if (!pField)
{
- AddPostIts(true);
+ AddPostIts();
break;
}
// get field to be inserted from hint
diff --git a/sw/source/uibase/docvw/edtdd.cxx b/sw/source/uibase/docvw/edtdd.cxx
index 81ca453323f7..0070daefbee5 100644
--- a/sw/source/uibase/docvw/edtdd.cxx
+++ b/sw/source/uibase/docvw/edtdd.cxx
@@ -108,8 +108,7 @@ void SwEditWin::StartDrag( sal_Int8 /*nAction*/, const Point& rPosPixel )
{
SwContentAtPos aSwContentAtPos( SwContentAtPos::SW_INETATTR );
bStart = rSh.GetContentAtPos( aDocPos,
- aSwContentAtPos,
- false );
+ aSwContentAtPos );
}
if ( bStart && !m_bIsInDrag )
diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx
index b5d36c0923dd..4cbf5d5455dd 100644
--- a/sw/source/uibase/docvw/edtwin.cxx
+++ b/sw/source/uibase/docvw/edtwin.cxx
@@ -644,9 +644,9 @@ IMPL_LINK_NOARG_TYPED(SwEditWin, TimerHandler, Timer *, void)
// take the center point of VisArea to
// decide in which direction the user want.
if( aModPt.Y() < ( rVisArea.Top() + rVisArea.Height() / 2 ) )
- rSh.Up( true, 1 );
+ rSh.Up( true );
else
- rSh.Down( true, 1 );
+ rSh.Down( true );
}
}
@@ -780,7 +780,7 @@ static sal_uInt16 lcl_isNonDefaultLanguage(LanguageType eBufferLanguage, SwView&
SfxItemSet aLangSet(rView.GetPool(), nWhich, nWhich);
SwWrtShell& rSh = rView.GetWrtShell();
rSh.GetCurAttr(aLangSet);
- if(SfxItemState::DEFAULT <= aLangSet.GetItemState(nWhich, true))
+ if(SfxItemState::DEFAULT <= aLangSet.GetItemState(nWhich))
{
LanguageType eLang = static_cast<const SvxLanguageItem&>(aLangSet.Get(nWhich)).GetLanguage();
if ( eLang == eBufferLanguage )
@@ -1833,7 +1833,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
case KEY_DELETE:
if ( !rSh.HasReadonlySel() || rSh.CrsrInsideInputField())
{
- if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum(false))
+ if (rSh.IsInFrontOfLabel() && rSh.NumOrNoNum())
eKeyState = KS_NumOrNoNum;
}
else
@@ -2259,7 +2259,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
if( bNormalChar && rSh.IsInFrontOfLabel() )
{
- rSh.NumOrNoNum(false);
+ rSh.NumOrNoNum();
}
if( !m_aInBuffer.isEmpty() && ( !bNormalChar || bIsDocReadOnly ))
@@ -3592,7 +3592,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt)
{
SwContentAtPos aContentAtPos( SwContentAtPos::SW_CLICKFIELD |
SwContentAtPos::SW_INETATTR );
- if( rSh.GetContentAtPos( aDocPos, aContentAtPos, false ) &&
+ if( rSh.GetContentAtPos( aDocPos, aContentAtPos ) &&
!rSh.IsReadOnlyAvailable() &&
aContentAtPos.IsInProtectSect() )
bLockView = true;
@@ -4282,14 +4282,14 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
if (aTextBoxShapes.find(pFormat) == aTextBoxShapes.end())
{
pSdrView->UnmarkAllObj();
- pSdrView->MarkObj(pObj,pPV,false);
+ pSdrView->MarkObj(pObj,pPV);
}
else
{
// If the fly frame is a textbox of a shape, then select the shape instead.
SdrObject* pShape = aTextBoxShapes[pFormat]->FindSdrObject();
pSdrView->UnmarkAllObj();
- pSdrView->MarkObj(pShape, pPV, false);
+ pSdrView->MarkObj(pShape, pPV);
}
}
}
@@ -4399,7 +4399,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
if ( aSttPt != aEndPt )
{
rSh.StartUndo( UNDO_UI_DRAG_AND_COPY );
- rSh.Copy(&rSh, aSttPt, aEndPt, false);
+ rSh.Copy(&rSh, aSttPt, aEndPt);
rSh.EndUndo( UNDO_UI_DRAG_AND_COPY );
}
}
@@ -4525,7 +4525,7 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt)
SwContentAtPos::SW_INETATTR |
SwContentAtPos::SW_SMARTTAG | SwContentAtPos::SW_FORMCTRL);
- if( rSh.GetContentAtPos( aDocPt, aContentAtPos, false ) )
+ if( rSh.GetContentAtPos( aDocPt, aContentAtPos ) )
{
// Do it again if we're not on a field/hyperlink to update the cursor accordingly
if ( SwContentAtPos::SW_FIELD != aContentAtPos.eContentAtPos
@@ -5642,7 +5642,7 @@ bool SwEditWin::SelectMenuPosition(SwWrtShell& rSh, const Point& rMousePos )
bool bUnLockView = !rSh.IsViewLocked();
rSh.LockView( true );
- bool bSelObj = rSh.SelectObj( aDocPos, 0);
+ bool bSelObj = rSh.SelectObj( aDocPos );
if( bUnLockView )
rSh.LockView( false );
diff --git a/sw/source/uibase/docvw/romenu.cxx b/sw/source/uibase/docvw/romenu.cxx
index 93271eddbbdd..0bdf4e47d2ad 100644
--- a/sw/source/uibase/docvw/romenu.cxx
+++ b/sw/source/uibase/docvw/romenu.cxx
@@ -94,7 +94,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) :
if ( sURL.isEmpty() )
{
SwContentAtPos aContentAtPos( SwContentAtPos::SW_INETATTR );
- if( rSh.GetContentAtPos( rDocPos, aContentAtPos, false))
+ if( rSh.GetContentAtPos( rDocPos, aContentAtPos))
{
const SwFormatINetFormat &rIItem = *static_cast<const SwFormatINetFormat*>(aContentAtPos.aFnd.pAttr);
sURL = rIItem.GetValue();
diff --git a/sw/source/uibase/docvw/srcedtw.cxx b/sw/source/uibase/docvw/srcedtw.cxx
index 19048587803d..6ad94fe373b9 100644
--- a/sw/source/uibase/docvw/srcedtw.cxx
+++ b/sw/source/uibase/docvw/srcedtw.cxx
@@ -542,7 +542,7 @@ void SwSrcEditWindow::CreateTextEngine()
pTextEngine->EnableUndo( true );
pTextEngine->SetUpdateMode( true );
- pTextView->ShowCursor( true );
+ pTextView->ShowCursor();
InitScrollBars();
StartListening( *pTextEngine );
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx
index f0f90478439e..3efc0ca2e1ce 100644
--- a/sw/source/uibase/frmdlg/colex.cxx
+++ b/sw/source/uibase/frmdlg/colex.cxx
@@ -44,7 +44,7 @@
// Taking the updated values from the set
void SwPageExample::UpdateExample( const SfxItemSet& rSet )
{
- if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR, true))
+ if (SfxItemState::DEFAULT <= rSet.GetItemState(RES_FRAMEDIR))
{
const SvxFrameDirectionItem& rDirItem =
static_cast<const SvxFrameDirectionItem&>(rSet.Get(RES_FRAMEDIR));
@@ -633,7 +633,7 @@ void SwPageGridExample::UpdateExample( const SfxItemSet& rSet )
{
DELETEZ(pGridItem);
//get the grid information
- if(SfxItemState::DEFAULT <= rSet.GetItemState(RES_TEXTGRID, true))
+ if(SfxItemState::DEFAULT <= rSet.GetItemState(RES_TEXTGRID))
pGridItem = static_cast<SwTextGridItem*>(static_cast<const SwTextGridItem&>(rSet.Get(RES_TEXTGRID)).Clone());
SwPageExample::UpdateExample(rSet);
}
diff --git a/sw/source/uibase/shells/annotsh.cxx b/sw/source/uibase/shells/annotsh.cxx
index 1c5e2351081b..da00c2b83f4e 100644
--- a/sw/source/uibase/shells/annotsh.cxx
+++ b/sw/source/uibase/shells/annotsh.cxx
@@ -855,7 +855,7 @@ void SwAnnotationShell::GetState(SfxItemSet& rSet)
rSet.Put(aEditAttr.Get(nEEWhich), nWhich);
if(nEEWhich == EE_CHAR_KERNING)
{
- SfxItemState eState = aEditAttr.GetItemState( EE_CHAR_KERNING, true );
+ SfxItemState eState = aEditAttr.GetItemState( EE_CHAR_KERNING );
if ( eState == SfxItemState::DONTCARE )
{
rSet.InvalidateItem(EE_CHAR_KERNING);
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index 50c290802746..cac03184b213 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1107,7 +1107,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
{
rSh.EnterStdMode();
rSh.StartAllAction();
- rSh.GetLinkManager().UpdateAllLinks( false, false, false );
+ rSh.GetLinkManager().UpdateAllLinks( false, false );
rSh.EndAllAction();
}
}
@@ -2559,7 +2559,7 @@ void SwBaseShell::InsertTable( SfxRequest& _rRequest )
rSh.StartUndo(UNDO_INSTABLE);
bCallEndUndo = true;
- bool bInserted = rSh.TextToTable( aInsTableOpts, '\t', text::HoriOrientation::FULL );
+ bool bInserted = rSh.TextToTable( aInsTableOpts, '\t' );
rSh.EnterStdMode();
if (bInserted)
rTempView.AutoCaption(TABLE_CAP);
diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx
index 69b808b99523..e18373416f52 100644
--- a/sw/source/uibase/shells/drwtxtex.cxx
+++ b/sw/source/uibase/shells/drwtxtex.cxx
@@ -500,7 +500,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
: text::WritingMode_TB_RL, SDRATTR_TEXTDIRECTION ) );
pTmpView->SetAttributes( aAttr );
- rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), false);
+ rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin());
rSh.GetView().AttrChangedNotify( &rSh );
}
return;
@@ -543,7 +543,7 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
aAttr.Put( SvxAdjustItem( SVX_ADJUST_RIGHT, EE_PARA_JUST ) );
}
pTmpView->SetAttributes( aAttr );
- rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin(), false );
+ rSh.GetView().BeginTextEdit( pTmpObj, pTmpPV, &rSh.GetView().GetEditWin() );
rSh.GetView().AttrChangedNotify( &rSh );
}
return;
diff --git a/sw/source/uibase/shells/tabsh.cxx b/sw/source/uibase/shells/tabsh.cxx
index 641b1f00257e..0cb89f9b01bf 100644
--- a/sw/source/uibase/shells/tabsh.cxx
+++ b/sw/source/uibase/shells/tabsh.cxx
@@ -1015,7 +1015,7 @@ void SwTableShell::Execute(SfxRequest &rReq)
case FN_TABLE_MERGE_TABLE:
{
- bool bPrev = rSh.CanMergeTable( true );
+ bool bPrev = rSh.CanMergeTable();
bool bNext = rSh.CanMergeTable( false );
if( bPrev && bNext )
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index 525d7cd88001..d004a735f1d5 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 ) &&
+ if( CHAR_SOFTHYPHEN != rSh.SwCrsrShell::GetChar() &&
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 );
+ rSh.InsertObject( svt::EmbeddedObjectRef(), &aGlobalName );
}
break;
@@ -580,7 +580,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
std::unique_ptr<SfxAbstractTabDialog> pDlg(pFact->CreateFrmTabDialog("FrameDialog",
GetView().GetViewFrame(),
&GetView().GetViewFrame()->GetWindow(),
- aSet, true));
+ aSet));
OSL_ENSURE(pDlg, "Dialog creation failed!");
if(pDlg->Execute() == RET_OK && pDlg->GetOutputItemSet())
{
diff --git a/sw/source/uibase/shells/textsh1.cxx b/sw/source/uibase/shells/textsh1.cxx
index 2e1b8eba6a56..0c042bb94e2c 100644
--- a/sw/source/uibase/shells/textsh1.cxx
+++ b/sw/source/uibase/shells/textsh1.cxx
@@ -1370,7 +1370,7 @@ void SwTextShell::Execute(SfxRequest &rReq)
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rWrtSh.GetCurAttr(aSet);
- if(SfxItemState::SET <= aSet.GetItemState( RES_TXTATR_INETFMT, true ))
+ if(SfxItemState::SET <= aSet.GetItemState( RES_TXTATR_INETFMT ))
{
const SwFormatINetFormat& rINetFormat = dynamic_cast<const SwFormatINetFormat&>( aSet.Get(RES_TXTATR_INETFMT) );
if( nSlot == FN_COPY_HYPERLINK_LOCATION )
@@ -1718,7 +1718,7 @@ void SwTextShell::GetState( SfxItemSet &rSet )
RES_TXTATR_INETFMT,
RES_TXTATR_INETFMT);
rSh.GetCurAttr(aSet);
- if(SfxItemState::SET > aSet.GetItemState( RES_TXTATR_INETFMT, true ) || rSh.HasReadonlySel())
+ if(SfxItemState::SET > aSet.GetItemState( RES_TXTATR_INETFMT ) || rSh.HasReadonlySel())
{
rSet.DisableItem(nWhich);
}
@@ -1732,8 +1732,8 @@ void SwTextShell::GetState( SfxItemSet &rSet )
rSh.GetCurAttr(aSet);
// If a hyperlink is selected, either alone or along with other text...
- if ((aSet.GetItemState(RES_TXTATR_INETFMT, true) < SfxItemState::SET &&
- aSet.GetItemState(RES_TXTATR_INETFMT, true) != SfxItemState::DONTCARE) ||
+ if ((aSet.GetItemState(RES_TXTATR_INETFMT) < SfxItemState::SET &&
+ aSet.GetItemState(RES_TXTATR_INETFMT) != SfxItemState::DONTCARE) ||
rSh.HasReadonlySel())
{
rSet.DisableItem(nWhich);
diff --git a/sw/source/uibase/shells/txtcrsr.cxx b/sw/source/uibase/shells/txtcrsr.cxx
index 41c4d84aaf6c..6ed39e5740b8 100644
--- a/sw/source/uibase/shells/txtcrsr.cxx
+++ b/sw/source/uibase/shells/txtcrsr.cxx
@@ -104,10 +104,10 @@ void SwTextShell::ExecBasicMove(SfxRequest &rReq)
rSh.Right( CRSR_SKIP_CELLS, bSelect, 1, false, true );
break;
case FN_LINE_UP:
- rSh.Up( bSelect, 1 );
+ rSh.Up( bSelect );
break;
case FN_LINE_DOWN:
- rSh.Down( bSelect, 1 );
+ rSh.Down( bSelect );
break;
default:
OSL_FAIL("wrong Dispatcher");
@@ -415,7 +415,7 @@ void SwTextShell::ExecMoveMisc(SfxRequest &rReq)
bRet = rSh.GotoNxtPrvTOXMark( false );
break;
case FN_NEXT_TBLFML:
- bRet = rSh.GotoNxtPrvTableFormula( true );
+ bRet = rSh.GotoNxtPrvTableFormula();
break;
case FN_PREV_TBLFML:
bRet = rSh.GotoNxtPrvTableFormula( false );
diff --git a/sw/source/uibase/table/tablemgr.cxx b/sw/source/uibase/table/tablemgr.cxx
index 86f242bcf339..90b707c1a369 100644
--- a/sw/source/uibase/table/tablemgr.cxx
+++ b/sw/source/uibase/table/tablemgr.cxx
@@ -210,7 +210,7 @@ uno::Reference< frame::XModel > SwTableFUNC::InsertChart(
aName = pSh->GetTableFormat()->GetName();
// insert node before table
pSh->MoveTable( fnTableCurr, fnTableStart );
- pSh->Up( false, 1 );
+ pSh->Up( false );
if ( pSh->IsCrsrInTable() )
{
if ( aName != pSh->GetTableFormat()->GetName() )
diff --git a/sw/source/uibase/uiview/scroll.cxx b/sw/source/uibase/uiview/scroll.cxx
index d95da36e3956..680af2a0ce1d 100644
--- a/sw/source/uibase/uiview/scroll.cxx
+++ b/sw/source/uibase/uiview/scroll.cxx
@@ -114,7 +114,7 @@ void SwScrollbar::AutoShow()
}
else if ( !ScrollBar::IsVisible() )
{
- ScrollBar::Show(true);
+ ScrollBar::Show();
}
}
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index 0f5fd71d54f4..d6f7783d39b5 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -1204,7 +1204,7 @@ void SwView::ReadUserData( const OUString &rUserData, bool bBrowse )
Point aCrsrPos2( nXTmp, nYTmp );
bSelectObj = m_pWrtShell->IsObjSelectable( aCrsrPos2 );
- m_pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos2, false );
+ m_pWrtShell->SwCrsrShell::SetCrsr( aCrsrPos2 );
if( bSelectObj )
{
m_pWrtShell->SelectObj( aCrsrPos2 );
diff --git a/sw/source/uibase/uiview/view2.cxx b/sw/source/uibase/uiview/view2.cxx
index 982d5e96a72f..7c528dc42a31 100644
--- a/sw/source/uibase/uiview/view2.cxx
+++ b/sw/source/uibase/uiview/view2.cxx
@@ -1544,7 +1544,7 @@ void SwView::StateStatusLine(SfxItemSet &rSet)
RES_PARATR_NUMRULE, RES_PARATR_NUMRULE);
rShell.GetCurAttr(aSet);
if(SfxItemState::DEFAULT <=
- aSet.GetItemState(RES_PARATR_NUMRULE, true))
+ aSet.GetItemState(RES_PARATR_NUMRULE))
{
const OUString& rNumStyle =
static_cast<const SfxStringItem &>(
diff --git a/sw/source/uibase/uiview/viewdraw.cxx b/sw/source/uibase/uiview/viewdraw.cxx
index 7a4364af6a11..421f2dce5a7e 100644
--- a/sw/source/uibase/uiview/viewdraw.cxx
+++ b/sw/source/uibase/uiview/viewdraw.cxx
@@ -495,7 +495,7 @@ bool SwView::EnterDrawTextMode(const Point& aDocPos)
{
// Refuse to edit editeng text of the shape if it has textbox attached.
if (!lcl_isTextBox(pObj))
- bReturn = BeginTextEdit( pObj, pPV, m_pEditWin, false );
+ bReturn = BeginTextEdit( pObj, pPV, m_pEditWin );
}
pSdrView->SetHitTolerancePixel( nOld );
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index c2d1fe64f42f..e37d68a55cc4 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -1066,7 +1066,7 @@ static OUString lcl_CreateOutlineString( size_t nIndex,
sEntry += ".";
}
sEntry += rOutlineNodes[ nIndex ]->
- GetTextNode()->GetExpandText( 0, -1, false );
+ GetTextNode()->GetExpandText();
return sEntry;
}
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index 3fd0e98e910b..878269290623 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -1802,7 +1802,7 @@ bool SwContentTree::FillTransferData( TransferDataContainer& rTransfer,
}
}
sEntry += pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineText(nPos, false);
- sOutlineText = pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineText(nPos, true);
+ sOutlineText = pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineText(nPos);
bIsOutlineMoveable = static_cast<SwOutlineContent*>(pCnt)->IsMoveable();
bOutline = true;
}
diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx
index 100fddaa9cf2..1c43dd420de4 100644
--- a/sw/source/uibase/utlui/glbltree.cxx
+++ b/sw/source/uibase/utlui/glbltree.cxx
@@ -827,7 +827,7 @@ void SwGlobalTree::ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry
case CTX_UPDATE_LINK:
case CTX_UPDATE_ALL:
{
- pActiveShell->GetLinkManager().UpdateAllLinks(true);
+ pActiveShell->GetLinkManager().UpdateAllLinks();
if(CTX_UPDATE_ALL == nSelectedPopupEntry)
nSlot = FN_UPDATE_TOX;
pCont = 0;
@@ -989,7 +989,7 @@ void SwGlobalTree::ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry
else
{
pActiveShell->SplitNode(); // Empty document
- pActiveShell->Up( false, 1 );
+ pActiveShell->Up( false );
}
pActiveShell->GetView().GetEditWin().GrabFocus();
}
diff --git a/sw/source/uibase/wrtsh/select.cxx b/sw/source/uibase/wrtsh/select.cxx
index 89065f4d2843..e7a3806b95e2 100644
--- a/sw/source/uibase/wrtsh/select.cxx
+++ b/sw/source/uibase/wrtsh/select.cxx
@@ -327,7 +327,7 @@ void SwWrtShell::UnSelectFrm()
{
// Remove Frame selection with guaranteed invalid position
Point aPt(LONG_MIN, LONG_MIN);
- SelectObj(aPt, 0);
+ SelectObj(aPt);
SwTransferable::ClearSelection( *this );
}
@@ -875,7 +875,7 @@ int SwWrtShell::IntelligentCut(int nSelection, bool bCut)
return NO_WORD;
cPrev = GetChar(false, -1);
- cNext = GetChar(true);
+ cNext = GetChar();
int cWord = NO_WORD;
// is a word selected?
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index cb690424a655..6e52a5ee8a1e 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -422,7 +422,7 @@ void SwWrtShell::ClickToINetAttr( const SwFormatINetFormat& rItem, sal_uInt16 nF
{
SwCallMouseEvent aCallEvent;
aCallEvent.Set( &rItem );
- GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent, false );
+ GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent );
}
// So that the implementation of templates is displayed immediately
@@ -452,7 +452,7 @@ bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, sal_uInt16 nFilter )
{
SwCallMouseEvent aCallEvent;
aCallEvent.Set( EVENT_OBJECT_URLITEM, pFnd );
- GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent, false );
+ GetDoc()->CallEvent( SFX_EVENT_MOUSECLICK_OBJECT, aCallEvent );
}
::LoadURL(*this, sURL, nFilter, sTargetFrameName);