[mapguide-commits] r9413 - trunk/MgDev/Common/Foundation/System
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Sat Nov 17 07:23:04 PST 2018
Author: jng
Date: 2018-11-17 07:23:04 -0800 (Sat, 17 Nov 2018)
New Revision: 9413
Modified:
trunk/MgDev/Common/Foundation/System/Util.cpp
trunk/MgDev/Common/Foundation/System/Util.h
Log:
#2784: Add MgUtil::copyString, which is a pass-through wrapper for XMLString::copyString
Modified: trunk/MgDev/Common/Foundation/System/Util.cpp
===================================================================
--- trunk/MgDev/Common/Foundation/System/Util.cpp 2018-11-17 14:36:33 UTC (rev 9412)
+++ trunk/MgDev/Common/Foundation/System/Util.cpp 2018-11-17 15:23:04 UTC (rev 9413)
@@ -18,6 +18,7 @@
#include "Foundation.h"
#include "UnicodeString.h"
#include "SetLocale.h"
+#include "XmlDefs.h"
#include <math.h>
#include <algorithm>
@@ -1296,4 +1297,9 @@
{
if (numChars > str.size())
str.insert(0, numChars - str.size(), ch);
+}
+
+void MgUtil::copyString(XMLCh* const target, const XMLCh* const src)
+{
+ XMLString::copyString(target, src);
}
\ No newline at end of file
Modified: trunk/MgDev/Common/Foundation/System/Util.h
===================================================================
--- trunk/MgDev/Common/Foundation/System/Util.h 2018-11-17 14:36:33 UTC (rev 9412)
+++ trunk/MgDev/Common/Foundation/System/Util.h 2018-11-17 15:23:04 UTC (rev 9413)
@@ -592,6 +592,9 @@
static const STRING sm_classNameQualifier;
static const STRING sm_classPropertyQualifier;
+ //Wraps XMLString::copyString in xerces
+ static void copyString(XMLCh* const target, const XMLCh* const src);
+
private:
static bool StaticInitialize();
More information about the mapguide-commits
mailing list