sfx2/source/control/templatelocalview.cxx |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit f8f68042597cd38b8dab7413baadb093c4a01a00
Author: Akshay Deep <akshaydeepi...@gmail.com>
Date:   Sun Aug 7 11:31:25 2016 +0530

    tdf#101141 Show only template files in start center and template manager
    
    Change-Id: I7869a65ba0d036d8a4373bdb736909a2ea9d1285
    Reviewed-on: https://gerrit.libreoffice.org/27929
    Reviewed-by: Yousuf Philips <philip...@hotmail.com>
    Tested-by: Yousuf Philips <philip...@hotmail.com>
    Reviewed-by: Akshay Deep <akshaydeepi...@gmail.com>

diff --git a/sfx2/source/control/templatelocalview.cxx 
b/sfx2/source/control/templatelocalview.cxx
index 86ee344..ca0b389 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -47,7 +47,10 @@ using namespace ::com::sun::star::frame;
 
 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)
     {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to