summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-06-14 13:35:37 +0200
committerNoel Grandin <noel@peralex.com>2015-06-15 11:56:55 +0200
commit5a2e09989a4b9746a56f15fe7499067a4327fbae (patch)
tree846226a33613d2de8621717ced337328649d1155 /basctl
parent7eac94da23f2f4460252eae5fa073fd1d833ba99 (diff)
cppcheck:redundantCondition
Change-Id: Ib8b6342d1da526df6104125ded546b3f053c448b
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basidesh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx
index b31d18c2607c..2501cdb55159 100644
--- a/basctl/source/basicide/basidesh.cxx
+++ b/basctl/source/basicide/basidesh.cxx
@@ -831,7 +831,7 @@ void Shell::RemoveWindow( BaseWindow* pWindow_, bool bDestroy, bool bAllowChange
if ( pWindow_->GetDocument().isInVBAMode() )
{
SbModule* pMod = StarBASIC::GetActiveModule();
- if ( !pMod || !pMod->GetName().equals(pWindow_->GetName()))
+ if ( !pMod || !pMod->GetName().equals(pWindow_->GetName()) )
{
bStop = false;
}