summaryrefslogtreecommitdiff
path: root/src/lib/VSDContentCollector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/VSDContentCollector.cpp')
-rw-r--r--src/lib/VSDContentCollector.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/VSDContentCollector.cpp b/src/lib/VSDContentCollector.cpp
index 3018b89..e65359d 100644
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -2253,6 +2253,13 @@ void libvisio::VSDContentCollector::collectShape(unsigned id, unsigned level, un
m_stencilNames[iterData->first] = nameString;
}
+ if (m_stencilShape->m_txtxform)
+ {
+ if (m_txtxform)
+ delete m_txtxform;
+ m_txtxform = new XForm(*(m_stencilShape->m_txtxform));
+ }
+
m_stencilFields = m_stencilShape->m_fields;
for (unsigned i = 0; i < m_stencilFields.size(); i++)
{