diff options
Diffstat (limited to 'sd/source/ui/func/fuinsfil.cxx')
-rw-r--r-- | sd/source/ui/func/fuinsfil.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/func/fuinsfil.cxx b/sd/source/ui/func/fuinsfil.cxx index 20d52abd26ec..8b67b00424b1 100644 --- a/sd/source/ui/func/fuinsfil.cxx +++ b/sd/source/ui/func/fuinsfil.cxx @@ -176,7 +176,7 @@ void FuInsertFile::DoExecute( SfxRequest& rReq ) lcl_AddFilter( aFilterVector, pFilter ); // get Powerpoint filter - pFilter = aMatch.GetFilter4Extension( ".ppt" ); + pFilter = aMatch.GetFilter4Extension( u".ppt"_ustr ); lcl_AddFilter( aFilterVector, pFilter ); // Get other draw/impress filters @@ -220,7 +220,7 @@ void FuInsertFile::DoExecute( SfxRequest& rReq ) } // end with "All files" as fallback - xFilterManager->appendFilter( SdResId( STR_ALL_FILES ), "*.*" ); + xFilterManager->appendFilter( SdResId( STR_ALL_FILES ), u"*.*"_ustr ); } catch (const IllegalArgumentException&) { @@ -709,13 +709,13 @@ void FuInsertFile::GetSupportedFilterVector( ::std::vector< OUString >& rFilterV rFilterVector.clear(); - if( ( pSearchFilter = rMatcher.GetFilter4Mime( "text/plain" )) != nullptr ) + if( ( pSearchFilter = rMatcher.GetFilter4Mime( u"text/plain"_ustr )) != nullptr ) rFilterVector.push_back( pSearchFilter->GetMimeType() ); - if( ( pSearchFilter = rMatcher.GetFilter4Mime( "application/rtf" ) ) != nullptr ) + if( ( pSearchFilter = rMatcher.GetFilter4Mime( u"application/rtf"_ustr ) ) != nullptr ) rFilterVector.push_back( pSearchFilter->GetMimeType() ); - if( ( pSearchFilter = rMatcher.GetFilter4Mime( "text/html" ) ) != nullptr ) + if( ( pSearchFilter = rMatcher.GetFilter4Mime( u"text/html"_ustr ) ) != nullptr ) rFilterVector.push_back( pSearchFilter->GetMimeType() ); } |