summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 438aa63)
raw | patch | inline | side by side (parent: 438aa63)
author | Jon A. Cruz <jon@joncruz.org> | |
Sat, 6 Mar 2010 08:39:14 +0000 (00:39 -0800) | ||
committer | Jon A. Cruz <jon@joncruz.org> | |
Sat, 6 Mar 2010 08:39:14 +0000 (00:39 -0800) |
src/inkview.cpp | patch | blob | history |
diff --git a/src/inkview.cpp b/src/inkview.cpp
index 5cfde2c814a793d1365d32549300ff58394f4902..007438b49dab13b91e08027f29a9f90aa2e36a12 100644 (file)
--- a/src/inkview.cpp
+++ b/src/inkview.cpp
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;
}