summaryrefslogtreecommitdiffstats
path: root/src/sp-tref.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2014-07-28 19:34:56 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2014-07-28 19:34:56 +0000
commit653be18705548ae8ab5a0358ecf77feca1b22e54 (patch)
tree9703f02e780a36093c55711ace8fc7e8e311f827 /src/sp-tref.cpp
parentFix placement news and calls to destructor. Fixes crash regressions #1348891,... (diff)
downloadinkscape-653be18705548ae8ab5a0358ecf77feca1b22e54.tar.gz
inkscape-653be18705548ae8ab5a0358ecf77feca1b22e54.zip
noop: remove commented-out code that is dangerous and should not come back
(bzr r13475)
Diffstat (limited to 'src/sp-tref.cpp')
-rw-r--r--src/sp-tref.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/sp-tref.cpp b/src/sp-tref.cpp
index edbb9faa7..0f6eb106f 100644
--- a/src/sp-tref.cpp
+++ b/src/sp-tref.cpp
@@ -64,12 +64,8 @@ static void sp_tref_delete_self(SPObject *deleted, SPTRef *self);
SPTRef::SPTRef() : SPItem() {
this->stringChild = NULL;
- //new (&this->attributes) TextTagAttributes;
-
this->href = NULL;
this->uriOriginalRef = new SPTRefReference(this);
- //new (&this->_delete_connection) sigc::connection();
- //new (&this->_changed_connection) sigc::connection();
this->_changed_connection =
this->uriOriginalRef->changedSignal().connect(sigc::bind(sigc::ptr_fun(sp_tref_href_changed), this));
@@ -77,9 +73,6 @@ SPTRef::SPTRef() : SPItem() {
SPTRef::~SPTRef() {
delete this->uriOriginalRef;
-
- //this->_delete_connection.~connection();
- //this->_changed_connection.~connection();
}
void SPTRef::build(SPDocument *document, Inkscape::XML::Node *repr) {