[Libreoffice-commits] core.git: sfx2/source
Abhyudaya Sharma
sharmaabhyudaya at gmail.com
Fri Jun 1 09:01:34 UTC 2018
sfx2/source/doc/templatedlg.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 6c4135416f79aebf02afa58d6d125f5c175b34d7
Author: Abhyudaya Sharma <sharmaabhyudaya at gmail.com>
Date: Thu May 31 17:58:26 2018 +0530
OOXML types are now visible in Template Import Dialog
Change-Id: I5414391cebc4a5a8e08d6d0004fefc3a0acc8111
Reviewed-on: https://gerrit.libreoffice.org/55128
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 06d45b732830..5b965d6b5e55 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -904,14 +904,14 @@ void SfxTemplateManagerDlg::OnTemplateImportCategory(const OUString& sCategory)
// add filters of modules which are installed
SvtModuleOptions aModuleOpt;
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::WRITER ) )
- sFilterExt += "*.ott;*.stw;*.oth";
+ sFilterExt += "*.ott;*.stw;*.oth;*.dotx;*.dot";
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::CALC ) )
{
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
- sFilterExt += "*.ots;*.stc";
+ sFilterExt += "*.ots;*.stc;*xltx;*.xlt";
}
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::IMPRESS ) )
@@ -919,7 +919,7 @@ void SfxTemplateManagerDlg::OnTemplateImportCategory(const OUString& sCategory)
if ( !sFilterExt.isEmpty() )
sFilterExt += ";";
- sFilterExt += "*.otp;*.sti";
+ sFilterExt += "*.otp;*.sti;*.pot;*.potx";
}
if ( aModuleOpt.IsModuleInstalled( SvtModuleOptions::EModule::DRAW ) )
More information about the Libreoffice-commits
mailing list