From d14b6230ded413be419591b929beed58fc1bbc77 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 19 Oct 2015 17:50:38 +0200 Subject: loplugin:defaultparams Change-Id: Ia29fc2a24abff6faa2260094822ec477e1d62add --- reportdesign/source/ui/dlg/GroupsSorting.cxx | 6 +++--- reportdesign/source/ui/report/ReportWindow.cxx | 2 +- reportdesign/source/ui/report/StartMarker.cxx | 2 +- reportdesign/source/ui/report/dlgedfunc.cxx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reportdesign/source/ui/dlg/GroupsSorting.cxx b/reportdesign/source/ui/dlg/GroupsSorting.cxx index 8312085c0ec3..df31a063c177 100644 --- a/reportdesign/source/ui/dlg/GroupsSorting.cxx +++ b/reportdesign/source/ui/dlg/GroupsSorting.cxx @@ -413,7 +413,7 @@ void OFieldExpressionControl::lateInit() // not the first call RowRemoved(0, GetRowCount()); - RowInserted(0, m_aGroupPositions.size(), true); + RowInserted(0, m_aGroupPositions.size()); } @@ -929,7 +929,7 @@ void OFieldExpressionControl::InsertRows( long nRow ) } } - RowInserted( nRow, nSize, true ); + RowInserted( nRow, nSize ); } Size OFieldExpressionControl::GetOptimalSize() const @@ -969,7 +969,7 @@ OGroupsSortingDialog::OGroupsSortingDialog(vcl::Window* _pParent, bool _bReadOnl { pControlsLst[i]->SetGetFocusHdl(LINK(this, OGroupsSortingDialog, OnControlFocusGot)); pControlsLst[i]->SetLoseFocusHdl(LINK(this, OGroupsSortingDialog, OnControlFocusLost)); - pControlsLst[i]->Show(true); + pControlsLst[i]->Show(); } for (size_t i = 0; i < (sizeof (pControlsLst) / sizeof (pControlsLst[0])) - 1; ++i) diff --git a/reportdesign/source/ui/report/ReportWindow.cxx b/reportdesign/source/ui/report/ReportWindow.cxx index cd907eb04144..ecc306d1aac9 100644 --- a/reportdesign/source/ui/report/ReportWindow.cxx +++ b/reportdesign/source/ui/report/ReportWindow.cxx @@ -70,7 +70,7 @@ OReportWindow::OReportWindow(OScrollWindowHelper* _pParent,ODesignView* _pView) m_aHRuler->Show(); m_aHRuler->Activate(); - m_aHRuler->SetPagePos(0); + m_aHRuler->SetPagePos(); m_aHRuler->SetBorders(); m_aHRuler->SetIndents(); m_aHRuler->SetMargin1(); diff --git a/reportdesign/source/ui/report/StartMarker.cxx b/reportdesign/source/ui/report/StartMarker.cxx index af9294c31bd2..9f1f77041b01 100644 --- a/reportdesign/source/ui/report/StartMarker.cxx +++ b/reportdesign/source/ui/report/StartMarker.cxx @@ -66,7 +66,7 @@ OStartMarker::OStartMarker(OSectionWindow* _pParent,const OUString& _sColorEntry m_aImage->Show(); m_aVRuler->Show(); m_aVRuler->Activate(); - m_aVRuler->SetPagePos(0); + m_aVRuler->SetPagePos(); m_aVRuler->SetBorders(); m_aVRuler->SetIndents(); m_aVRuler->SetMargin1(); diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 553d096c0a89..91379a6518d1 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -841,7 +841,7 @@ bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent& rMEvt ) } else { - m_rView.SdrBeginTextEdit( aVEvt.pRootObj,m_rView.GetSdrPageView(),m_pParent, false ); + m_rView.SdrBeginTextEdit( aVEvt.pRootObj,m_rView.GetSdrPageView(),m_pParent ); } } -- cgit