[mapguide-commits] r4395 - sandbox/rfc60/MgDev/Common/MapGuideCommon/Services

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Dec 9 09:59:02 EST 2009


Author: uvlite
Date: 2009-12-09 09:59:02 -0500 (Wed, 09 Dec 2009)
New Revision: 4395

Modified:
   sandbox/rfc60/MgDev/Common/MapGuideCommon/Services/RenderingOptions.cpp
Log:
minor fix - placing the Upper call at a more sensible place (CTOR)

Modified: sandbox/rfc60/MgDev/Common/MapGuideCommon/Services/RenderingOptions.cpp
===================================================================
--- sandbox/rfc60/MgDev/Common/MapGuideCommon/Services/RenderingOptions.cpp	2009-12-09 04:55:27 UTC (rev 4394)
+++ sandbox/rfc60/MgDev/Common/MapGuideCommon/Services/RenderingOptions.cpp	2009-12-09 14:59:02 UTC (rev 4395)
@@ -35,7 +35,7 @@
 /// Selection color, including filling color and boundary color
 /// </param>
 MgRenderingOptions::MgRenderingOptions(CREFSTRING format, INT32 behavior, MgColor* selectionColor)
-: m_format(format),
+: m_format(MgUtil::ToUpper(format)),
   m_behavior(behavior)
 {
     m_selectionColor = SAFE_ADDREF(selectionColor);
@@ -47,7 +47,7 @@
 /// Get the image format
 /// </summary>
 /// <returns>
-/// The string value
+/// The string value (is in upper case from CTOR)
 /// </returns>
 STRING MgRenderingOptions::GetImageFormat()
 {



More information about the mapguide-commits mailing list