summaryrefslogtreecommitdiffstats
path: root/src/style-test.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2010-12-12 08:40:34 +0000
committerJon A. Cruz <jon@joncruz.org>2010-12-12 08:40:34 +0000
commitaadfea4113abc6863d7ab03d21b973802c41c503 (patch)
tree3f890c0c112433fd850d59558208addf1baa85da /src/style-test.h
parentPot and Dutch translation update (diff)
parentA simple layout document as to what, why and how is cppification. (diff)
downloadinkscape-aadfea4113abc6863d7ab03d21b973802c41c503.tar.gz
inkscape-aadfea4113abc6863d7ab03d21b973802c41c503.zip
Merge and cleanup of GSoC C++-ification project.
(bzr r9945.1.1)
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;
}
}