summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
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/uiview
parenta003d8c59d0324ab3f44ec608f473e654ce48902 (diff)
loplugin:defaultparams
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
Diffstat (limited to 'sw/source/uibase/uiview')
-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
4 files changed, 4 insertions, 4 deletions
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 );