<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Memory Leak in sd::TemplateScanner::ScanEntry()"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111892#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Memory Leak in sd::TemplateScanner::ScanEntry()"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111892">bug 111892</a>
from <span class="vcard"><a class="email" href="mailto:iplaw67@tuta.io" title="Alex Thurgood <iplaw67@tuta.io>"> <span class="fn">Alex Thurgood</span></a>
</span></b>
<pre>
sd::TemplateScanner::ScanEntry()
is invoked from TemplateScanner.cxx at line 242 in the following block :
{
// Check whether the entry is an impress template. If so
// add a new entry to the resulting list (which is created
// first if necessary).
// These strings are used to find impress templates in the
tree of
// template files. Should probably be determined dynamically.
if ( (sContentType ==
MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_TEMPLATE_ASCII)
|| (sContentType ==
MIMETYPE_OASIS_OPENDOCUMENT_PRESENTATION_ASCII)
|| (sContentType ==
"application/vnd.stardivision.impress")
|| (sContentType == MIMETYPE_VND_SUN_XML_IMPRESS_ASCII)
// The following id comes from the bugdoc in #i2764#.
|| (sContentType == "Impress 2.0"))
{
OUString sLocalisedTitle =
SfxDocumentTemplates::ConvertResourceString(sTitle);
mpLastAddedEntry = new TemplateEntry(sLocalisedTitle,
sTargetURL);
mpTemplateDirectory->InsertEntry(mpLastAddedEntry);
}
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>