[Mobies-commit] [commit] r3819 - UDM/trunk/src/UIntWizVS/Templates/1033
ksmyth at redhat1.isis.vanderbilt.edu
ksmyth at redhat1.isis.vanderbilt.edu
Wed Aug 3 17:32:09 CDT 2011
Author: ksmyth
Date: Wed Aug 3 17:32:09 2011
New Revision: 3819
Log:
Fix compilation
Modified:
UDM/trunk/src/UIntWizVS/Templates/1033/Common.inf
UDM/trunk/src/UIntWizVS/Templates/1033/UdmFormatter.cpp
Modified: UDM/trunk/src/UIntWizVS/Templates/1033/Common.inf
==============================================================================
--- UDM/trunk/src/UIntWizVS/Templates/1033/Common.inf Wed Aug 3 11:39:21 2011 (r3818)
+++ UDM/trunk/src/UIntWizVS/Templates/1033/Common.inf Wed Aug 3 17:32:09 2011 (r3819)
@@ -7,3 +7,5 @@
ComponentLib.idl
GMECOM.H
targetver.h
+Exceptions.h
+Exceptions.cpp
Modified: UDM/trunk/src/UIntWizVS/Templates/1033/UdmFormatter.cpp
==============================================================================
--- UDM/trunk/src/UIntWizVS/Templates/1033/UdmFormatter.cpp Wed Aug 3 11:39:21 2011 (r3818)
+++ UDM/trunk/src/UIntWizVS/Templates/1033/UdmFormatter.cpp Wed Aug 3 17:32:09 2011 (r3819)
@@ -10,13 +10,15 @@
{
std::string Formatter::MakeObjectHyperlink(const std::string & text, const Udm::Object& object)
{
+ ostringstream ostr;
ostr << "<a href=\"mga:" << UdmGme::UdmId2GmeId(object.uniqueId()) << "\">" << text << "</a>";
return ostr.str();
}
std::string Formatter::MakeColored(const std::string & text, COLORREF color)
{
- ostringstream ostr; ostr << "<font color=\"#" << hex << setfill('0') << setw(2) << (int)GetRValue(color)
+ ostringstream ostr;
+ ostr << "<font color=\"#" << hex << setfill('0') << setw(2) << (int)GetRValue(color)
<<setw(2) << (int)GetGValue(color) <<setw(2) << (int)GetBValue(color) << "\">" << text <<"</font>";
return ostr.str();
More information about the Mobies-commit
mailing list