Kaydet (Commit) f8f68042 authored tarafından Akshay Deep's avatar Akshay Deep

tdf#101141 Show only template files in start center and template manager

Change-Id: I7869a65ba0d036d8a4373bdb736909a2ea9d1285
Reviewed-on: https://gerrit.libreoffice.org/27929Reviewed-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Tested-by: 's avatarYousuf Philips <philipz85@hotmail.com>
Reviewed-by: 's avatarAkshay Deep <akshaydeepiitr@gmail.com>
üst 95abd2fc
...@@ -47,7 +47,10 @@ using namespace ::com::sun::star::frame; ...@@ -47,7 +47,10 @@ using namespace ::com::sun::star::frame;
bool ViewFilter_Application::isFilteredExtension(FILTER_APPLICATION filter, const OUString &rExt) bool ViewFilter_Application::isFilteredExtension(FILTER_APPLICATION filter, const OUString &rExt)
{ {
bool bRet = true; bool bRet = rExt == "ott" || rExt == "stw" || rExt == "oth" || rExt == "dot" || rExt == "dotx" || rExt == "otm"
|| rExt == "ots" || rExt == "stc" || rExt == "xlt" || rExt == "xltm" || rExt == "xltx"
|| rExt == "otp" || rExt == "sti" || rExt == "pot" || rExt == "potm" || rExt == "potx"
|| rExt == "otg" || rExt == "std";
if (filter == FILTER_APPLICATION::WRITER) if (filter == FILTER_APPLICATION::WRITER)
{ {
......
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