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

Oliver Kellogg okellogg at users.sourceforge.net
Thu Mar 15 20:27:58 UTC 2007


SVN commit 642917 by okellogg:

no tabs

 M  +3 -3      sqlwriter.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codegenerators/sqlwriter.cpp #642916:642917
@@ -93,14 +93,14 @@
             UMLObject *objB = a->getObject(Uml::B);
             if (objA->getID() == c->getID() && objB->getID() != c->getID())
                 continue;
-	    constraintMap[a] = a;
+            constraintMap[a] = a;
         }
     }
     
     QMap<UMLAssociation*,UMLAssociation*>::Iterator itor = constraintMap.begin();
     for (;itor != constraintMap.end();itor++) {
-	UMLAssociation* a = itor.data();
-	sql << "ALTER TABLE "<< classname
+        UMLAssociation* a = itor.data();
+        sql << "ALTER TABLE "<< classname
             << " ADD CONSTRAINT " << a->getName() << " FOREIGN KEY ("
             << a->getRoleName(Uml::B) << ") REFERENCES "
             << a->getObject(Uml::A)->getName()




More information about the umbrello-devel mailing list