[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Sat Dec 25 13:01:03 UTC 2004


CVS commit by okellogg: 

{get,set}HighestIDforForeignFile(): Unused, remove.


  M +2 -13     umldoc.cpp   1.224
  M +0 -12     umldoc.h   1.91


--- kdesdk/umbrello/umbrello/umldoc.cpp  #1.223:1.224
@@ -84,7 +84,5 @@
 
 #define XMI_FILE_VERSION "1.3.90"
-// Hmm, if the XMI_FILE_VERSION is meant to reflect the umbrello version
-// then the version number "1.3" is prone to create confusion with the UML
-// DTD version...
+// NB: The XMI_FILE_VERSION is the Umbrello version NOT the UML version.
 
 using namespace Uml;
@@ -893,12 +891,4 @@ void UMLDoc::writeToStatusBar(const QStr
 }
 
-void UMLDoc::getHighestIDforForeignFile(int value) {
-        m_highestIDforForeignFile = value;
-}
-
-int UMLDoc::setHighestIDforForeignFile() const {
-        return m_highestIDforForeignFile;
-}
-
 // simple removal of an object
 void UMLDoc::slotRemoveUMLObject(UMLObject* object)  {

--- kdesdk/umbrello/umbrello/umldoc.h  #1.90:1.91
@@ -929,14 +929,4 @@ public:
         void writeToStatusBar(const QString &text);
 
-        /**
-         * Setter for m_highestIDforForeignFile.
-         */
-        void getHighestIDforForeignFile(int value);
-
-        /**
-         * Getter for m_highestIDforForeignFile.
-         */
-        int setHighestIDforForeignFile() const;
-
 private:
 
@@ -966,6 +956,4 @@ private:
         /**
          * In principle, each model object gets assigned a unique ID.
-         * ("In principle" because there are exceptions - such as UMLRole -
-         * but the aim is to remove those exceptions.)
          * NOTE: Currently this is an int although Uml::IDType is a string
          *       (unless ID_USE_INT is defined.) Perhaps it should be changed






More information about the umbrello-devel mailing list