Hi Noel,

On 14.03.2012 17:02, Noel Grandin wrote:
Note that this is not the nicest patch to review because I'm converting
complicated nested loops.

Heh - right, *two weeks* have passed. :(

I have reviewed it - some not-equal-to-null conditions got lost (ScAddress may be NULL) and

-                sal_uLong nKey = pFirstCol->GetCurKey();
-                pCols->First();
-                while ( (pCol = (Table*) pCols->Next())!=NULL )
-                    pCol->Insert( nKey, (void*)0 );     // keine Daten
+                sal_uLong nKey = it1->first;
+                for (ColumnMap::const_iterator it2 = pCols->begin(); it2 != 
pCols->end(); ++it2 )
+                    (*it2->second)[ nKey ] =  NULL;     // keine Daten

this loop should start from begin() + 1 AFAICS and use insert instead of operator[], but I am not sure though. Some bits are still unclear to me.

So - I must go off now, but I will push this patch with some corrections towards evening, if nobody else will do it.

Thanks for your patches. ;)

Regards,
Ivan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to