diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-23 11:06:31 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-23 11:22:34 +0200 |
commit | c92d8866af8f115c0a43786abda7f08c53999a3a (patch) | |
tree | 9e8ad2bf5b738c2e34af3833597ee5c173bd3a0f /basctl/source/basicide/basidesh.cxx | |
parent | 402572e25c0c9eb1f01c928f2ae422ab62a55ba1 (diff) |
loplugin:constantparam in basctl
Change-Id: I08ab924a9bb69bede4247cfe8c50921520a4f4a7
Diffstat (limited to 'basctl/source/basicide/basidesh.cxx')
-rw-r--r-- | basctl/source/basicide/basidesh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |