[fdo-commits] r818 - branches/3.2.x/Fdo/Unmanaged/Src/Common/Xml

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Feb 27 14:28:46 EST 2007


Author: jacklee
Date: 2007-02-27 14:28:45 -0500 (Tue, 27 Feb 2007)
New Revision: 818

Modified:
   branches/3.2.x/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp
Log:
Fixed Linux build

Modified: branches/3.2.x/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp
===================================================================
--- branches/3.2.x/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp	2007-02-26 21:46:30 UTC (rev 817)
+++ branches/3.2.x/Fdo/Unmanaged/Src/Common/Xml/ReaderXrcs.cpp	2007-02-27 19:28:45 UTC (rev 818)
@@ -303,9 +303,15 @@
     // Xrcs wide characters are always 2 bytes. FDO wide characters vary according
     // to operating system ( 2 bytes on Windows, 4 on Linux ).
     HandleStartElement( 
+#ifdef _WIN32
         (FdoString*) uri, 
         (FdoString*) name, 
         (FdoString*) qname, 
+#else
+        FdoXmlUtilXrcs::Xrcs2Unicode(uri), 
+        FdoXmlUtilXrcs::Xrcs2Unicode(name),
+        FdoXmlUtilXrcs::Xrcs2Unicode(qname),
+#endif
         mFdoAttrs 
     );
 }



More information about the fdo-commits mailing list