https://bugs.documentfoundation.org/show_bug.cgi?id=111892
--- Comment #1 from Alex Thurgood <ipla...@tuta.io> ---
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);
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs