summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:07 +0200
commit1f0b89b5d2551f592f38e7bf090ce51bb938f243 (patch)
treedccd80b513c2be2650a5e13e994eab5f16dbbb17 /basctl
parent49eeba5c3eae8dc0723aaa1a9e926be5bf874302 (diff)
loplugin:defaultparams
Change-Id: If39ad8e936b3a46de00770993a4a7c3676c676d2
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/baside2b.cxx10
-rw-r--r--basctl/source/basicide/basides1.cxx4
-rw-r--r--basctl/source/basicide/basidesh.cxx8
-rw-r--r--basctl/source/basicide/basobj3.cxx2
-rw-r--r--basctl/source/dlged/dlged.cxx4
5 files changed, 14 insertions, 14 deletions
diff --git a/basctl/source/basicide/baside2b.cxx b/basctl/source/basicide/baside2b.cxx
index b8ce19afb907..d4cdd2cb2bca 100644
--- a/basctl/source/basicide/baside2b.cxx
+++ b/basctl/source/basicide/baside2b.cxx
@@ -1006,7 +1006,7 @@ void EditorWindow::CreateEditEngine()
pEditEngine->SetUpdateMode(true);
rModulWindow.Update(); // has only been invalidated at UpdateMode = true
- pEditView->ShowCursor(true);
+ pEditView->ShowCursor();
StartListening(*pEditEngine);
@@ -1753,7 +1753,7 @@ void WatchWindow::AddWatch( const OUString& rVName )
OUString aWatchStr_( aVar );
aWatchStr_ += "\t\t";
- SvTreeListEntry* pNewEntry = aTreeListBox->InsertEntry( aWatchStr_, 0, true, TREELIST_APPEND );
+ SvTreeListEntry* pNewEntry = aTreeListBox->InsertEntry( aWatchStr_, 0, true );
pNewEntry->SetUserData( pWatchItem );
aTreeListBox->Select(pNewEntry);
@@ -1870,7 +1870,7 @@ StackWindow::StackWindow (Layout* pParent) :
aTreeListBox->SetPosPixel( Point( DWBORDER, nVirtToolBoxHeight ) );
aTreeListBox->SetHighlightRange();
aTreeListBox->SetSelectionMode( NO_SELECTION );
- aTreeListBox->InsertEntry( OUString(), 0, false, TREELIST_APPEND );
+ aTreeListBox->InsertEntry( OUString(), 0 );
aTreeListBox->Show();
SetText(IDEResId(RID_STR_STACKNAME).toString());
@@ -1974,7 +1974,7 @@ void StackWindow::UpdateCalls()
}
aEntry += ")";
}
- aTreeListBox->InsertEntry( aEntry, 0, false, TREELIST_APPEND );
+ aTreeListBox->InsertEntry( aEntry, 0 );
nScope++;
pMethod = StarBASIC::GetActiveMethod( nScope );
}
@@ -1986,7 +1986,7 @@ void StackWindow::UpdateCalls()
else
{
aTreeListBox->SetSelectionMode( NO_SELECTION );
- aTreeListBox->InsertEntry( OUString(), 0, false, TREELIST_APPEND );
+ aTreeListBox->InsertEntry( OUString(), 0 );
}
aTreeListBox->SetUpdateMode(true);
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 5ab729c1277b..c42da35c9d24 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -597,9 +597,9 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
BaseWindow* pWin = 0;
if ( aType == aModType )
- pWin = FindBasWin( *pDocument, aLibName, aName, false );
+ pWin = FindBasWin( *pDocument, aLibName, aName );
else if ( aType == aDlgType )
- pWin = FindDlgWin( *pDocument, aLibName, aName, false );
+ pWin = FindDlgWin( *pDocument, aLibName, aName );
if ( pWin )
{
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 6e7524260b22..5bcb61a8d365 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -170,7 +170,7 @@ void Shell::Init()
SvxSimpleUndoRedoController::RegisterControl( SID_UNDO );
SvxSimpleUndoRedoController::RegisterControl( SID_REDO );
- SvxSearchDialogWrapper::RegisterChildWindow(false);
+ SvxSearchDialogWrapper::RegisterChildWindow();
GetExtraData()->ShellInCriticalSection() = true;
@@ -721,7 +721,7 @@ void Shell::UpdateWindows()
for ( sal_Int32 j = 0 ; j < nModCount ; j++ )
{
OUString aModName = pModNames[ j ];
- ModulWindow* pWin = FindBasWin( *doc, aLibName, aModName, false );
+ ModulWindow* pWin = FindBasWin( *doc, aLibName, aModName );
if ( !pWin )
pWin = CreateBasWin( *doc, aLibName, aModName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aModName &&
@@ -752,7 +752,7 @@ void Shell::UpdateWindows()
OUString aDlgName = pDlgNames[ j ];
// this find only looks for non-suspended windows;
// suspended windows are handled in CreateDlgWin
- VclPtr<DialogWindow> pWin = FindDlgWin( *doc, aLibName, aDlgName, false );
+ VclPtr<DialogWindow> pWin = FindDlgWin( *doc, aLibName, aDlgName );
if ( !pWin )
pWin = CreateDlgWin( *doc, aLibName, aDlgName );
if ( !pNextActiveWindow && pLibInfoItem && pLibInfoItem->GetCurrentName() == aDlgName &&
@@ -798,7 +798,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
}
else
{
- SetCurWindow( NULL, false );
+ SetCurWindow( NULL );
}
}
if ( bDestroy )
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx
index 7de0ab37c50e..9edd9958f334 100644
--- a/basctl/source/basicide/basobj3.cxx
+++ b/basctl/source/basicide/basobj3.cxx
@@ -335,7 +335,7 @@ void BasicStopped(
vcl::Window* pDefParent = Application::GetDefDialogParent();
if ( pDefParent && !pDefParent->IsEnabled() )
{
- pDefParent->Enable(true);
+ pDefParent->Enable();
if ( pbAppWindowDisabled )
*pbAppWindowDisabled = true;
}
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx
index 6c18a8c13008..a9cfdb382609 100644
--- a/basctl/source/dlged/dlged.cxx
+++ b/basctl/source/dlged/dlged.cxx
@@ -168,7 +168,7 @@ bool DlgEditor::RemarkDialog()
bool bWasMarked = pDlgEdView->IsObjMarked( pDlgObj );
if( !bWasMarked )
- pDlgEdView->MarkObj( pDlgObj, pPgView, false );
+ pDlgEdView->MarkObj( pDlgObj, pPgView );
return bWasMarked;
}
@@ -423,7 +423,7 @@ void DlgEditor::ResetDialog ()
pPage->SetDlgEdForm( NULL );
SetDialog( m_xUnoControlDialogModel );
if( bWasMarked )
- pDlgEdView->MarkObj( pDlgEdForm, pPgView, false );
+ pDlgEdView->MarkObj( pDlgEdForm, pPgView );
}