[mapguide-commits] r6724 - trunk/MgDev/Common/Foundation/System

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Jun 1 00:09:45 PDT 2012


Author: liuar
Date: 2012-06-01 00:09:44 -0700 (Fri, 01 Jun 2012)
New Revision: 6724

Modified:
   trunk/MgDev/Common/Foundation/System/Util.h
Log:
Fix Linux break build

Modified: trunk/MgDev/Common/Foundation/System/Util.h
===================================================================
--- trunk/MgDev/Common/Foundation/System/Util.h	2012-05-31 16:37:17 UTC (rev 6723)
+++ trunk/MgDev/Common/Foundation/System/Util.h	2012-06-01 07:09:44 UTC (rev 6724)
@@ -586,7 +586,7 @@
 if (pointer == NULL)     \
 {                        \
     MgStringCollection args; \
-    args.Add(L#pointer); \
+    args.Add(L###pointer); \
     throw new MgNullReferenceException(methodname, \
                                        __LINE__, __WFILE__, NULL, L"MgNullPointer", &args); \
 }
@@ -595,7 +595,7 @@
 if (pointer == NULL)     \
 {                        \
     MgStringCollection args; \
-    args.Add(L#pointer); \
+    args.Add(L###pointer); \
     throw new MgNullArgumentException(methodname, \
                                        __LINE__, __WFILE__, NULL, L"MgNullArgument", &args); \
 }
@@ -612,7 +612,7 @@
             MgStringCollection args;                                          \
             args.Add(minStr.str());                                           \
             args.Add(maxStr.str());                                           \
-            args.Add(L#value);                                                \
+            args.Add(L###value);                                                \
             throw new MgArgumentOutOfRangeException(                          \
                 methodName, __LINE__, __WFILE__, NULL, L"MgArgumentOutOfRange", &args); \
         }                                                                     \



More information about the mapguide-commits mailing list