Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.