[Mobies-commit] [commit] r3854 - UDM/trunk/src/UdmPOI

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Fri Aug 26 09:43:22 CDT 2011


Author: ksmyth
Date: Fri Aug 26 09:43:22 2011
New Revision: 3854

Log:
Only depend on dll-exported functions

Modified:
   UDM/trunk/src/UdmPOI/UdmPOI.cpp

Modified: UDM/trunk/src/UdmPOI/UdmPOI.cpp
==============================================================================
--- UDM/trunk/src/UdmPOI/UdmPOI.cpp	Fri Aug 26 09:41:47 2011	(r3853)
+++ UDM/trunk/src/UdmPOI/UdmPOI.cpp	Fri Aug 26 09:43:22 2011	(r3854)
@@ -44,11 +44,6 @@
 using namespace Udm;
 using namespace Uml;
 
-namespace Uml_xsd
-{
- const std::string& getString();
-}
-
 static string last_error;			//static string to store the last error
 static bool was_error = false;		//static bool to indicate an error after the last
 
@@ -1735,11 +1730,7 @@
 //===========================
 void StoreUmlXsd()
 {
-  std::string nn("Uml.xsd");
-  UdmDom::str_xsd_storage::str_str_map::const_iterator it  = UdmDom::str_xsd_storage::static_xsd_container.find(nn);
-  if (it == UdmDom::str_xsd_storage::static_xsd_container.end())
-    UdmDom::str_xsd_storage::StoreXsd(nn,Uml_xsd::getString().c_str());
-
+	Uml::Initialize();
 }
 
 bool  UPO_LoadDiagram(const char * xml_meta_file, UdmPseudoObject & diagram)


More information about the Mobies-commit mailing list