summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-05-31 10:26:52 +0100
committerMichael Meeks <michael.meeks@novell.com>2011-05-31 10:27:44 +0100
commitaedc5eb4afb12ad074666507e6af8fcf24d64b65 (patch)
tree2b318a7d2d128e76e80039b3373edde0544397b5 /basic
parentca39c0ee5fb571693f96fe32f55b814d74e5b756 (diff)
fix snafu identified by Julien Nabet
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/runtime.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index b40c962314c0..b73cc4f3e320 100644
--- a/basic/source/runtime/runtime.cxx
+++ b/basic/source/runtime/runtime.cxx
@@ -1244,7 +1244,7 @@ SbiForStack* SbiRuntime::FindForStackItemForCollection( class BasicCollection* p
{
SbxVariable* pVar = p->refEnd.Is() ? (SbxVariable*)p->refEnd : NULL;
if( p->eForType == FOR_EACH_COLLECTION && pVar != NULL &&
- (pCollection = PTR_CAST(BasicCollection,pVar)) == pCollection )
+ PTR_CAST(BasicCollection,pVar) == pCollection )
{
pRet = p;
break;