[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sun Aug 22 23:33:03 UTC 2004


CVS commit by okellogg: 

toString(): Use getTypeName().


  M +1 -3      attribute.cpp   1.14


--- kdesdk/umbrello/umbrello/attribute.cpp  #1.13:1.14
@@ -77,5 +77,5 @@ QString UMLAttribute::toString(Signature
 
         if(sig == st_ShowSig || sig == st_SigNoScope) {
-                QString string = s + getName() + " : " + m_TypeName;
+                QString string = s + getName() + " : " + getTypeName();
                 if(m_InitialValue.length() > 0)
                         string += " = " + m_InitialValue;
@@ -96,6 +96,4 @@ bool UMLAttribute::operator==( UMLAttrib
         if (m_pType != rhs.m_pType)
                 return false;
-        if( m_TypeName != rhs.m_TypeName )
-                return false;
 
         return true;






More information about the umbrello-devel mailing list