Kaydet (Commit) bbf5c85c authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

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: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst f830d83b
...@@ -312,16 +312,13 @@ static OUString impl_searchFormatTypeForApp(const css::uno::Reference< css::fram ...@@ -312,16 +312,13 @@ static OUString impl_searchFormatTypeForApp(const css::uno::Reference< css::fram
case E_MS_DOC: case E_MS_DOC:
{ {
if ( sModule == "com.sun.star.text.TextDocument" ) if ( sModule == "com.sun.star.text.TextDocument" )
sType = "writer_MS_Word_97"; sType = "writer_MS_Word_2007";
else else
if ( sModule == "com.sun.star.sheet.SpreadsheetDocument" ) if ( sModule == "com.sun.star.sheet.SpreadsheetDocument" )
sType = "calc_MS_Excel_97"; sType = "MS Excel 2007 XML";
else
if ( sModule == "com.sun.star.drawing.DrawingDocument" )
sType = "impress_MS_PowerPoint_97";
else else
if ( sModule == "com.sun.star.presentation.PresentationDocument" ) if ( sModule == "com.sun.star.presentation.PresentationDocument" )
sType = "impress_MS_PowerPoint_97"; sType = "MS PowerPoint 2007 XML";
} }
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment