Code

Rearrange to enable code that does not directly rely on lcms.
[inkscape.git] / src / dom / domimpl.h
index cf7ab6564873c9a2647993338b83bafef8bb9d32..dbf81757e760c234a461a545f3c25a266cdb177f 100644 (file)
@@ -384,7 +384,7 @@ public:
     /**
      *
      */
-    virtual DOMUserData *getUserData(const DOMString &namespaceURI);
+    virtual DOMUserData *getUserData(const DOMString &key);
 
 
     //##################
@@ -524,18 +524,19 @@ protected:
         UserDataEntry(const DOMString       &theKey,
                       const DOMUserData     *theData,
                       const UserDataHandler *theHandler)
-            {
+        {
             next    = NULL;
             key     = theKey;
             data    = (DOMUserData *)theData;
             handler = (UserDataHandler *)theHandler;
-            }
-        ~UserDataEntry()
-            {
+        }
+
+        virtual ~UserDataEntry()
+        {
             //delete anything after me, too
             if (next)
                 delete next;
-            }
+        }
 
         UserDataEntry   *next;
         DOMString       key;