summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-08 15:31:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-11 09:38:21 +0000
commited00d0ddd663085a5fd180301cdc82af80bc8077 (patch)
treee9949eddf99b907a06ab99f248e81831a1505699 /sfx2
parent4b758c52955e1931850938bf70764ee6376616a0 (diff)
create a master document template type
of application/vnd.oasis.opendocument.text-master-template with suffic otm https://lists.oasis-open.org/archives/office-comment/201002/msg00042.html desktop/icons/oasis-master-document-template.icns is just a copy of desktop/icons/oasis-master-document.icns because I can't draw Change-Id: I0d18c79c4c893e97505052884ee8be97d0f117a1 Reviewed-on: https://gerrit.libreoffice.org/11350 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/recentdocsview.cxx2
-rw-r--r--sfx2/source/control/templateabstractview.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/recentdocsview.cxx b/sfx2/source/control/recentdocsview.cxx
index af1469cb012c..f88cfbbbb96f 100644
--- a/sfx2/source/control/recentdocsview.cxx
+++ b/sfx2/source/control/recentdocsview.cxx
@@ -71,7 +71,7 @@ bool RecentDocsView::typeMatchesExtension(ApplicationType type, const OUString &
bool bRet = false;
if (rExt == "odt" || rExt == "doc" || rExt == "docx" ||
- rExt == "rtf" || rExt == "txt")
+ rExt == "rtf" || rExt == "txt" || rExt == "odm" || rExt == "otm")
{
bRet = type & TYPE_WRITER;
}
diff --git a/sfx2/source/control/templateabstractview.cxx b/sfx2/source/control/templateabstractview.cxx
index cbda6e69f991..87be587f1506 100644
--- a/sfx2/source/control/templateabstractview.cxx
+++ b/sfx2/source/control/templateabstractview.cxx
@@ -40,7 +40,7 @@ bool ViewFilter_Application::isFilteredExtension(FILTER_APPLICATION filter, cons
if (filter == FILTER_APP_WRITER)
{
- bRet = rExt == "ott" || rExt == "stw" || rExt == "oth" || rExt == "dot" || rExt == "dotx";
+ bRet = rExt == "ott" || rExt == "stw" || rExt == "oth" || rExt == "dot" || rExt == "dotx" || rExt == "otm";
}
else if (filter == FILTER_APP_CALC)
{