summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-06-06 16:35:52 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-06-06 16:42:13 +0200
commit248a63f5d0d09b6e8388192a0fe7332a624e8829 (patch)
tree8fb395be65df52f3fbf361ee4a66387710e05e73 /xmloff/source
parent7ef1a64bdb8f9afaeb93e7a88219650381e0d323 (diff)
bnc#382137 DocxAttributeOutput: don't store address of local variable
AttributeOutputBase::TextField() passes the address of its local variable to WriteExpand(), and DocxAttributeOutput::WriteField_Impl() stored this. When it was to be used, the variable already went out of scope, resulting in a crash. Given that SwField is an abstract base class, the easiest way is to just copy the field and manually delete it when it's no longer needed. Change-Id: I9d1fe2485277f1ac21a576d7ff0d05003f0ac8a1
Diffstat (limited to 'xmloff/source')
0 files changed, 0 insertions, 0 deletions