[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdesdk/umbrello/umbrello
From: Oliver Kellogg <okellogg () users ! sourceforge ! net>
Date: 2004-05-01 14:24:30
Message-ID: 20040501142430.D966E9A80 () office ! kde ! org
[Download RAW message or body]
CVS commit by okellogg:
Avoid multiple addition of same attributes when repeatedly importing the
same classes. Thanks to Tanuj (tagrawal@hss.hns.com) for reporting.
M +1 -2 classimport.cpp 1.31
--- kdesdk/umbrello/umbrello/classimport.cpp #1.30:1.31
@@ -119,6 +119,5 @@ UMLObject* ClassImport::insertAttribute(
return NULL;
}
- int attID = m_umldoc->getUniqueID();
- UMLAttribute *attr = ((UMLClass*)o)->addAttribute(name , attID);
+ UMLAttribute *attr = ((UMLClass*)o)->addAttribute(name);
attr->setTypeName(type);
attr->setScope(scope);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic