summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-07-31 21:23:10 +0000
committerMarkus Engel <markus.engel@tum.de>2013-07-31 21:23:10 +0000
commit127543bae3c0a76770e197c7058a783dea18fe3e (patch)
treec264cd9128264c9755aa45432ee6410a3f0ae302 /src/sp-text.cpp
parentMerged from trunk (r12441). (diff)
downloadinkscape-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.cpp8
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();
}