diff options
| author | Markus Engel <markus.engel@tum.de> | 2013-07-31 21:23:10 +0000 |
|---|---|---|
| committer | Markus Engel <markus.engel@tum.de> | 2013-07-31 21:23:10 +0000 |
| commit | 127543bae3c0a76770e197c7058a783dea18fe3e (patch) | |
| tree | c264cd9128264c9755aa45432ee6410a3f0ae302 /src/sp-tspan.cpp | |
| parent | Merged from trunk (r12441). (diff) | |
| download | inkscape-127543bae3c0a76770e197c7058a783dea18fe3e.tar.gz inkscape-127543bae3c0a76770e197c7058a783dea18fe3e.zip | |
Removed placement news / explicit destructor calls.
(bzr r11608.1.113)
Diffstat (limited to 'src/sp-tspan.cpp')
| -rw-r--r-- | src/sp-tspan.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-tspan.cpp b/src/sp-tspan.cpp index 41afb1761..00cdf5722 100644 --- a/src/sp-tspan.cpp +++ b/src/sp-tspan.cpp @@ -63,7 +63,7 @@ namespace { #####################################################*/ SPTSpan::SPTSpan() : SPItem() { this->role = SP_TSPAN_ROLE_UNSPECIFIED; - new (&this->attributes) TextTagAttributes; + //new (&this->attributes) TextTagAttributes; } SPTSpan::~SPTSpan() { @@ -81,7 +81,7 @@ void SPTSpan::build(SPDocument *doc, Inkscape::XML::Node *repr) { } void SPTSpan::release() { - this->attributes.~TextTagAttributes(); + //this->attributes.~TextTagAttributes(); SPItem::release(); } @@ -227,7 +227,7 @@ gchar* SPTSpan::description() { void refresh_textpath_source(SPTextPath* offset); SPTextPath::SPTextPath() : SPItem() { - new (&this->attributes) TextTagAttributes; + //new (&this->attributes) TextTagAttributes; this->startOffset._set = false; this->originalPath = NULL; @@ -271,7 +271,7 @@ void SPTextPath::build(SPDocument *doc, Inkscape::XML::Node *repr) { } void SPTextPath::release() { - this->attributes.~TextTagAttributes(); + //this->attributes.~TextTagAttributes(); if (this->originalPath) { delete this->originalPath; |
