summaryrefslogtreecommitdiff
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
commitfa28d9fb76dc472ad8b273fb8f6511f86343b06b (patch)
treed78231f5bc9f4e10c9d524d80680e36f55f89af5
parent0be75e2f6580c15837bc916754cabffa9cd8021e (diff)
fix snafu identified by Julien Nabet
-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 308550a4e6..0bec6ae6b2 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;