diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-11-15 17:34:47 +0100 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2018-11-16 08:45:00 +0100 |
commit | bbf5c85c2affa47fe0f6674dd0ee8ccc55446769 (patch) | |
tree | 21770189d1c5fd789cc124125adf13068f94e57e /sfx2/source/view | |
parent | f830d83b3c47e89f06c573d0c0eaf2a89e782c23 (diff) |
tdf#99122 Send as email: prefer ooxml formats
and remove the draw branch - there is no menu entry in draw for this.
Change-Id: I1e435023a6b39c6990c8a9d3df52b668b5de0571
Reviewed-on: https://gerrit.libreoffice.org/63433
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index f8522be05d08..04733ec20cfb 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -312,16 +312,13 @@ static OUString impl_searchFormatTypeForApp(const css::uno::Reference< css::fram case E_MS_DOC: { if ( sModule == "com.sun.star.text.TextDocument" ) - sType = "writer_MS_Word_97"; + sType = "writer_MS_Word_2007"; else if ( sModule == "com.sun.star.sheet.SpreadsheetDocument" ) - sType = "calc_MS_Excel_97"; - else - if ( sModule == "com.sun.star.drawing.DrawingDocument" ) - sType = "impress_MS_PowerPoint_97"; + sType = "MS Excel 2007 XML"; else if ( sModule == "com.sun.star.presentation.PresentationDocument" ) - sType = "impress_MS_PowerPoint_97"; + sType = "MS PowerPoint 2007 XML"; } break; |