[mapguide-internals] Patch for ticket 2189: MgLayerCollection::Remove always returns true

Jackie Ng jumpinjackie at gmail.com
Mon Nov 26 07:43:14 PST 2012


Hi All,

Attached is a patch to fix the incorrect behaviour of
MgLayerCollection::Remove() which currently returns true even if you pass in
a layer that doesn't belong in the collection. Even worse, the method will
then detach that layer's parent and track its change.

http://trac.osgeo.org/mapguide/ticket/2189

Please review. Thanks.

- Jackie



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Patch-for-ticket-2189-MgLayerCollection-Remove-always-returns-true-tp5018812.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list