summaryrefslogtreecommitdiffstats
path: root/src/sp-object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-object.h')
-rw-r--r--src/sp-object.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sp-object.h b/src/sp-object.h
index 4e9a6c938..bcaa1dac7 100644
--- a/src/sp-object.h
+++ b/src/sp-object.h
@@ -106,7 +106,9 @@ enum {
class SPDocument;
/// Internal class consisting of two bits.
-struct SPIXmlSpace {
+class SPIXmlSpace {
+public:
+ SPIXmlSpace(): set(0), value(SP_XML_SPACE_DEFAULT) {};
guint set : 1;
guint value : 1;
};