summaryrefslogtreecommitdiff
path: root/basctl/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-06 23:16:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-06 23:16:23 +0100
commitba11d549dca2a04a220b59aaf9223ee8f7043da0 (patch)
treea9f53b990de42784a72798c7e479b603a0880b04 /basctl/source
parentf6ae27e3f17a1cce5040d8e1a93992879a421fcf (diff)
Some cppcheck cleaning
Diffstat (limited to 'basctl/source')
-rw-r--r--basctl/source/basicide/basobj3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/basicide/basobj3.cxx b/basctl/source/basicide/basobj3.cxx
index 6d15f5a9a74f..1bf6081c6f0c 100644
--- a/basctl/source/basicide/basobj3.cxx
+++ b/basctl/source/basicide/basobj3.cxx
@@ -372,10 +372,10 @@ void BasicStopped( BOOL* pbAppWindowDisabled,
*ppSWLockViewCount = 0;
// AppWait ?
- USHORT nWait = 0;
BasicIDEShell* pIDEShell = IDE_DLL()->GetShell();
if( pIDEShell )
{
+ USHORT nWait = 0;
while ( pIDEShell->GetViewFrame()->GetWindow().IsWait() )
{
pIDEShell->GetViewFrame()->GetWindow().LeaveWait();