diff --git a/src/style-test.h b/src/style-test.h
index 7ebbf08be9ea0f9166b3622af7e4e34199aacdb5..064773d1d97a64e81bcd52539c8d9aadbf2a3ac2 100644 (file)
--- a/src/style-test.h
+++ b/src/style-test.h
-
#ifndef SEEN_STYLE_TEST_H
#define SEEN_STYLE_TEST_H
class StyleTest : public CxxTest::TestSuite
{
public:
- Document* _doc;
+ SPDocument* _doc;
StyleTest() :
_doc(0)
{
if ( _doc )
{
- sp_document_unref( _doc );
+ _doc->doUnref();
_doc = 0;
}
}
fill-column:99
End:
*/
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :