https://issues.apache.org/ooo/show_bug.cgi?id=120735
Priority: P3
Bug ID: 120735
Assignee: [email protected]
Summary: Loading a document contains textfield objects, the
para objects and editengine objects attached to it are
not freed
Severity: normal
Issue Type: DEFECT
Classification: Application
OS: All
Reporter: [email protected]
Hardware: All
Status: CONFIRMED
Version: AOO 3.4.0
Component: code
Product: word processor
Created attachment 79189
--> https://issues.apache.org/ooo/attachment.cgi?id=79189&action=edit
Sample odt file to show the memory leak
The the attached sample files, you may observe the OutlinerParaObject objects
created by below call stack are never freed.
svxmi.dll!Outliner::CreateParaObject(unsigned short nStartPara=0x0000,
unsigned short nCount=0x0001) Line 448 + 0x18 C++
swmi.dll!SwTextAPIEditSource::CreateText() Line 183 + 0x16 C++
> swmi.dll!SwXTextField::attachToRange(const
> com::sun::star::uno::Reference<com::sun::star::text::XTextRange> &
> xTextRange={...}) Line 1342 + 0x1d C++
And the object is set to SwPostItField object with this piece of code in api
SwXTextField::attachToRange() (file writ\sw\source\core\unocore\unofield.cxx),
((SwPostItField*)pFld)->SetTextObject( m_pTextObject->CreateText() );
--
You are receiving this mail because:
You are the assignee for the bug.