diff options
Diffstat (limited to 'dtrans/source/win32/dtobj/FetcList.cxx')
-rw-r--r-- | dtrans/source/win32/dtobj/FetcList.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dtrans/source/win32/dtobj/FetcList.cxx b/dtrans/source/win32/dtobj/FetcList.cxx index 2364a0a14341..3f7be8b53f2b 100644 --- a/dtrans/source/win32/dtobj/FetcList.cxx +++ b/dtrans/source/win32/dtobj/FetcList.cxx @@ -283,7 +283,7 @@ void SAL_CALL CFormatRegistrar::RegisterFormats( aFormatEtcContainer.addFormatEtc( fetc ); // and HTML Format - OUString htmlFormat( OUString::createFromAscii( "HTML Format" ) ); + OUString htmlFormat( RTL_CONSTASCII_USTRINGPARAM("HTML Format") ); aFormatEtcContainer.addFormatEtc( m_DataFormatTranslator.getFormatEtcForClipformatName( htmlFormat ) ); } @@ -361,8 +361,8 @@ OUString SAL_CALL CFormatRegistrar::getCharsetFromDataFlavor( const DataFlavor& try { Reference< XMimeContentTypeFactory > xMimeFac( - m_SrvMgr->createInstance( OUString::createFromAscii( \ - "com.sun.star.datatransfer.MimeContentTypeFactory" ) ), UNO_QUERY ); + m_SrvMgr->createInstance( OUString(RTL_CONSTASCII_USTRINGPARAM( \ + "com.sun.star.datatransfer.MimeContentTypeFactory" )) ), UNO_QUERY ); if( xMimeFac.is( ) ) { |