summaryrefslogtreecommitdiffstats
path: root/src/sp-text.cpp
diff options
context:
space:
mode:
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();
}