INTEGRATION: CWS mav09 (1.4.70); FILE MERGED

2004/05/28 16:08:53 mav 1.4.70.1: #i27773# fix mediatypes
This commit is contained in:
Kurt Zenker
2004-10-04 19:00:50 +00:00
parent 676b941b02
commit 4e806872eb

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: ed_idataobj.cxx,v $ * $RCSfile: ed_idataobj.cxx,v $
* *
* $Revision: 1.4 $ * $Revision: 1.5 $
* *
* last change: $Author: mav $ $Date: 2003-03-25 08:21:01 $ * last change: $Author: kz $ $Date: 2004-10-04 20:00:50 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -111,13 +111,13 @@ sal_uInt64 EmbedDocument_Impl::getMetaFileHandle_Impl( sal_Bool isEnhMeta )
if ( isEnhMeta ) if ( isEnhMeta )
{ {
aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
"application/x-openoffice;windows_formatname=\"Image EMF\"" ) ); "application/x-openoffice-emf;windows_formatname=\"Image EMF\"" ) );
aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Enhanced Windows MetaFile" ) ); aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Enhanced Windows MetaFile" ) );
} }
else else
{ {
aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( aFlavor.MimeType = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
"application/x-openoffice;windows_formatname=\"Image WMF\"" ) ); "application/x-openoffice-wmf;windows_formatname=\"Image WMF\"" ) );
aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Windows GDIMetaFile" ) ); aFlavor.HumanPresentableName = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Windows GDIMetaFile" ) );
} }