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-text.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-text.cpp')
| -rw-r--r-- | src/sp-text.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sp-text.cpp b/src/sp-text.cpp index 89d1f6510..3771238e0 100644 --- a/src/sp-text.cpp +++ b/src/sp-text.cpp @@ -72,8 +72,8 @@ namespace { # SPTEXT #####################################################*/ SPText::SPText() : SPItem() { - new (&this->layout) Inkscape::Text::Layout; - new (&this->attributes) TextTagAttributes; + //new (&this->layout) Inkscape::Text::Layout; + //new (&this->attributes) TextTagAttributes; } SPText::~SPText() { @@ -92,8 +92,8 @@ void SPText::build(SPDocument *doc, Inkscape::XML::Node *repr) { } void SPText::release() { - this->attributes.~TextTagAttributes(); - this->layout.~Layout(); + //this->attributes.~TextTagAttributes(); + //this->layout.~Layout(); SPItem::release(); } |
