summaryrefslogtreecommitdiffstats
path: root/src/extension/paramstring.h
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2007-11-04 01:01:15 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2007-11-04 01:01:15 +0000
commite36b55fc22df7631393784974077c5f7a1b00e67 (patch)
tree23d9394249fa9b6e95817a473b422dc3126cb53c /src/extension/paramstring.h
parentFix bug [ 1811188 ] save as PS/EPS crashes (diff)
downloadinkscape-e36b55fc22df7631393784974077c5f7a1b00e67.tar.gz
inkscape-e36b55fc22df7631393784974077c5f7a1b00e67.zip
Add virtual to a lot of the destructors. Note: perhaps it will have to be reverted for some files to keep them C-compatible.
(bzr r4024)
Diffstat (limited to 'src/extension/paramstring.h')
-rw-r--r--src/extension/paramstring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/paramstring.h b/src/extension/paramstring.h
index c36d7ba6c..2f8e29c9c 100644
--- a/src/extension/paramstring.h
+++ b/src/extension/paramstring.h
@@ -23,7 +23,7 @@ private:
gchar * _value;
public:
ParamString(const gchar * name, const gchar * guitext, const gchar * desc, const Parameter::_scope_t scope, Inkscape::Extension::Extension * ext, Inkscape::XML::Node * xml);
- ~ParamString(void);
+ virtual ~ParamString(void);
/** \brief Returns \c _value, with a \i const to protect it. */
const gchar * get (const SPDocument * doc, const Inkscape::XML::Node * node) { return _value; }
const gchar * set (const gchar * in, SPDocument * doc, Inkscape::XML::Node * node);