[mapguide-commits] r6480 - sandbox/adsk/2.4j/Common/MdfParser
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Feb 3 00:10:18 EST 2012
Author: sparkliu
Date: 2012-02-02 21:10:17 -0800 (Thu, 02 Feb 2012)
New Revision: 6480
Modified:
sandbox/adsk/2.4j/Common/MdfParser/IOGridColor.cpp
Log:
Integrate 6479
Modified: sandbox/adsk/2.4j/Common/MdfParser/IOGridColor.cpp
===================================================================
--- sandbox/adsk/2.4j/Common/MdfParser/IOGridColor.cpp 2012-02-03 05:09:09 UTC (rev 6479)
+++ sandbox/adsk/2.4j/Common/MdfParser/IOGridColor.cpp 2012-02-03 05:10:17 UTC (rev 6480)
@@ -146,7 +146,8 @@
IOGridColorBands::Write(fd, colorBands, version, tab);
// Write any unknown XML / extended data
- IOUnknown::Write(fd, color->GetUnknownXml(), version, tab);
+ if(color)
+ IOUnknown::Write(fd, color->GetUnknownXml(), version, tab);
tab.dectab();
fd << tab.tab() << endStr(sColor) << std::endl;
More information about the mapguide-commits
mailing list