diff options
Diffstat (limited to 'src/inkview.cpp')
| -rw-r--r-- | src/inkview.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/inkview.cpp b/src/inkview.cpp index 5cfde2c81..007438b49 100644 --- a/src/inkview.cpp +++ b/src/inkview.cpp @@ -446,9 +446,6 @@ sp_svgview_set_document(struct SPSlideShow *ss, SPDocument *doc, int current) if (doc && doc != ss->doc) { sp_document_ensure_up_to_date (doc); reinterpret_cast<SPSVGView*>(SP_VIEW_WIDGET_VIEW (ss->view))->setDocument (doc); - if (ss->doc) { - delete ss->doc; - } ss->doc = doc; ss->current = current; } |
