summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-23 11:06:31 +0200
committerNoel Grandin <noel@peralex.com>2016-03-23 11:22:34 +0200
commitc92d8866af8f115c0a43786abda7f08c53999a3a (patch)
tree9e8ad2bf5b738c2e34af3833597ee5c173bd3a0f /basctl
parent402572e25c0c9eb1f01c928f2ae422ab62a55ba1 (diff)
loplugin:constantparam in basctl
Change-Id: I08ab924a9bb69bede4247cfe8c50921520a4f4a7
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basides1.cxx2
-rw-r--r--basctl/source/basicide/basidesh.cxx4
-rw-r--r--basctl/source/inc/basidesh.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx
index 9e412f8089c3..b4b509046370 100644
--- a/basctl/source/basicide/basides1.cxx
+++ b/basctl/source/basicide/basides1.cxx
@@ -467,7 +467,7 @@ void Shell::ExecuteGlobal( SfxRequest& rReq )
{
if ( m_aCurLibName.isEmpty() || ( aDocument == m_aCurDocument && aLibName == m_aCurLibName ) )
{
- RemoveWindows( aDocument, aLibName, true );
+ RemoveWindows( aDocument, aLibName );
if ( aDocument == m_aCurDocument && aLibName == m_aCurLibName )
{
m_aCurDocument = ScriptDocument::getApplicationScriptDocument();
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index 54c92e6d6ee8..18ff4da83c30 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -575,7 +575,7 @@ void Shell::CheckWindows()
}
-void Shell::RemoveWindows( const ScriptDocument& rDocument, const OUString& rLibName, bool bDestroy )
+void Shell::RemoveWindows( const ScriptDocument& rDocument, const OUString& rLibName )
{
bool bChangeCurWindow = pCurWin;
std::vector<VclPtr<BaseWindow> > aDeleteVec;
@@ -591,7 +591,7 @@ void Shell::RemoveWindows( const ScriptDocument& rDocument, const OUString& rLib
if ( pWin == pCurWin )
bChangeCurWindow = true;
pWin->StoreData();
- RemoveWindow( pWin, bDestroy, false );
+ RemoveWindow( pWin, true/*bDestroy*/, false );
}
if ( bChangeCurWindow )
SetCurWindow( FindApplicationWindow(), true );
diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx
index 46b0b4017085..1fb6dd8e884b 100644
--- a/basctl/source/inc/basidesh.hxx
+++ b/basctl/source/inc/basidesh.hxx
@@ -93,7 +93,7 @@ private:
void InitTabBar();
void InitScrollBars();
void CheckWindows();
- void RemoveWindows( const ScriptDocument& rDocument, const OUString& rLibName, bool bDestroy );
+ void RemoveWindows( const ScriptDocument& rDocument, const OUString& rLibName );
void UpdateWindows();
static void InvalidateBasicIDESlots();
void StoreAllWindowData( bool bPersistent = true );