[Libreoffice-commits] .: basic/source

Michael Meeks michael at kemper.freedesktop.org
Tue May 31 02:28:40 PDT 2011


 basic/source/runtime/runtime.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa28d9fb76dc472ad8b273fb8f6511f86343b06b
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Tue May 31 10:26:52 2011 +0100

    fix snafu identified by Julien Nabet

diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx
index 308550a..0bec6ae 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;


More information about the Libreoffice-commits mailing list