diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-11-05 11:14:26 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-11-05 19:54:18 +0100 |
commit | b65f295698d3c09a1d18336cb17ac29487266400 (patch) | |
tree | 75575402b0a637502513bd3a2163f5d33a39290c /avmedia | |
parent | eae5559af6bbf7727431fcb44e79492adbd59c41 (diff) |
tdf#158068: an example of "abc" -> u"abc"_ustr conversion
Change-Id: I1225548ebc313cac98c4b924a8fb53f53bada76d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158946
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/framework/soundhandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/framework/soundhandler.cxx b/avmedia/source/framework/soundhandler.cxx index 8d559457ef83..d3cc8b724d39 100644 --- a/avmedia/source/framework/soundhandler.cxx +++ b/avmedia/source/framework/soundhandler.cxx @@ -102,7 +102,7 @@ sal_Bool SAL_CALL SoundHandler::supportsService( const OUString& sServiceName ) // XServiceInfo css::uno::Sequence< OUString > SAL_CALL SoundHandler::getSupportedServiceNames() { - return { "com.sun.star.frame.ContentHandler" }; + return { u"com.sun.star.frame.ContentHandler"_ustr }; } /*-************************************************************************************************************ @@ -253,7 +253,7 @@ OUString SAL_CALL SoundHandler::detect( css::uno::Sequence< css::beans::Property // I think we can the following ones: // a) look for given extension of url to map our type decision HARD CODED!!! // b) return preferred type every time... it's easy :-) - sTypeName = "wav_Wave_Audio_File"; + sTypeName = u"wav_Wave_Audio_File"_ustr; aDescriptor[utl::MediaDescriptor::PROP_TYPENAME] <<= sTypeName; aDescriptor >> lDescriptor; } |