[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Wed Feb 8 11:09:07 UTC 2006


SVN commit 507222 by okellogg:

resolveRef(): Call maybeSignalObjectCreated() also when secondary data is not set.


 M  +1 -9      umlobject.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlobject.cpp #507221:507222
@@ -398,19 +398,11 @@
 }
 
 bool UMLObject::resolveRef() {
-    if (m_pSecondary) {
+    if (m_pSecondary || (m_SecondaryId.isEmpty() && m_SecondaryFallback.isEmpty())) {
         maybeSignalObjectCreated();
         return true;
     }
-    if (m_SecondaryId.isEmpty() && m_SecondaryFallback.isEmpty()) {
 #ifdef VERBOSE_DEBUGGING
-        kdDebug() << "UMLObject::resolveRef(" << m_Name
-                  << "): neither m_SecondaryId nor m_SecondaryFallback is set"
-                  << endl;
-#endif
-        return true;
-    }
-#ifdef VERBOSE_DEBUGGING
     kdDebug() << "UMLObject::resolveRef(" << m_Name << "): m_SecondaryId is "
               << m_SecondaryId << endl;
 #endif




More information about the umbrello-devel mailing list