Kaydet (Commit) 53d49664 authored tarafından Michael Stahl's avatar Michael Stahl

sw: WW8 import: delete leaked SdrGrafObj (and temp file)

The SdrObject returned from SvxMSDffManager::GetShape() is owned by the
caller; since it's not inserted anywhere it has to be deleted.

Change-Id: Iaac6467592ec4151173a586a6dc71f9bc44b44f0
üst 4eb856f0
...@@ -4340,6 +4340,7 @@ void wwSectionManager::SetSegmentToPageDesc(const wwSection &rSection, ...@@ -4340,6 +4340,7 @@ void wwSectionManager::SetSegmentToPageDesc(const wwSection &rSection,
rFmt.SetFmtAttr(aSet.Get(RES_BACKGROUND)); rFmt.SetFmtAttr(aSet.Get(RES_BACKGROUND));
} }
} }
SdrObject::Free(pObject);
} }
wwULSpaceData aULData; wwULSpaceData aULData;
GetPageULData(rSection, aULData); GetPageULData(rSection, aULData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment