diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2007-11-04 01:01:15 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2007-11-04 01:01:15 +0000 |
| commit | e36b55fc22df7631393784974077c5f7a1b00e67 (patch) | |
| tree | 23d9394249fa9b6e95817a473b422dc3126cb53c /src/io | |
| parent | Fix bug [ 1811188 ] save as PS/EPS crashes (diff) | |
| download | inkscape-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/io')
| -rw-r--r-- | src/io/inkscapestream.h | 6 | ||||
| -rw-r--r-- | src/io/xsltstream.h | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/io/inkscapestream.h b/src/io/inkscapestream.h index 4388a2815..67c51cc7f 100644 --- a/src/io/inkscapestream.h +++ b/src/io/inkscapestream.h @@ -27,7 +27,7 @@ public: { reason = theReason; } StreamException(Glib::ustring &theReason) throw() { reason = theReason; } - ~StreamException() throw() + virtual ~StreamException() throw() { } char const *what() const throw() { return reason.c_str(); } @@ -424,7 +424,7 @@ public: StdReader(); - ~StdReader(); + virtual ~StdReader(); /*Overload these 3 for your implementation*/ virtual int available(); @@ -636,7 +636,7 @@ class StdWriter : public BasicWriter public: StdWriter(); - ~StdWriter(); + virtual ~StdWriter(); virtual void close(); diff --git a/src/io/xsltstream.h b/src/io/xsltstream.h index 5e293abc6..13d9550fa 100644 --- a/src/io/xsltstream.h +++ b/src/io/xsltstream.h @@ -37,7 +37,7 @@ public: XsltStyleSheet(InputStream &source) throw (StreamException); - ~XsltStyleSheet(); + virtual ~XsltStyleSheet(); xsltStylesheetPtr stylesheet; |
