[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Nov 16 07:45:26 UTC 2018
sfx2/source/view/viewsh.cxx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
New commits:
commit bbf5c85c2affa47fe0f6674dd0ee8ccc55446769
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
AuthorDate: Thu Nov 15 17:34:47 2018 +0100
Commit: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
CommitDate: Fri Nov 16 08:45:00 2018 +0100
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 at cib.de>
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;
More information about the Libreoffice-commits
mailing list