Code

Merge and cleanup of GSoC C++-ification project.
[inkscape.git] / src / style-test.h
index 67a4d70141b2d70005ea4a509a8d3f38e9fb8148..064773d1d97a64e81bcd52539c8d9aadbf2a3ac2 100644 (file)
@@ -1,4 +1,3 @@
-
 #ifndef SEEN_STYLE_TEST_H
 #define SEEN_STYLE_TEST_H
 
@@ -22,7 +21,7 @@ public:
     {
         if ( _doc )
         {
-            sp_document_unref( _doc );
+            _doc->doUnref();
             _doc = 0;
         }
     }