From 127543bae3c0a76770e197c7058a783dea18fe3e Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Wed, 31 Jul 2013 23:23:10 +0200 Subject: Removed placement news / explicit destructor calls. (bzr r11608.1.113) --- src/sp-text.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/sp-text.cpp') 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(); } -- cgit v1.2.3