summaryrefslogtreecommitdiffstats
path: root/src/style-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/style-test.h')
-rw-r--r--src/style-test.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/style-test.h b/src/style-test.h
index 67a4d7014..064773d1d 100644
--- a/src/style-test.h
+++ b/src/style-test.h
@@ -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;
}
}