diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-11-06 17:00:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-11-06 19:38:23 +0100 |
commit | c13ea2bd388ac41784db09fc5fcb51ac81900d20 (patch) | |
tree | 853da4fb5a7bf78ddc2ab0e48b227cb11b7adb69 /avmedia | |
parent | 4b2752755609a4132417e57ca52bfc773c9ef897 (diff) |
Avoid OUString::createFromAscii, use OUStringLiteral instead
Change-Id: Ib337b9678f68d41319dda30f0ca7edba5dc7e7b0
Reviewed-on: https://gerrit.libreoffice.org/82155
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r-- | avmedia/source/vlc/wrapper/SymbolLoader.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index a4e941f60afe..601aa62edd2a 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -32,7 +32,7 @@ typedef void (*SymbolFunc) (void); struct ApiMap { - const char *symName; + OUStringLiteral symName; SymbolFunc *refValue; }; @@ -76,7 +76,7 @@ struct ApiMap for (size_t i = 0; i < N; ++i) { SymbolFunc aMethod = reinterpret_cast<SymbolFunc>(osl_getFunctionSymbol - ( aModule, OUString::createFromAscii( pMap[ i ].symName ).pData )); + ( aModule, OUString( pMap[ i ].symName ).pData )); if ( !aMethod ) { SAL_WARN("avmedia", "Cannot load method " << pMap[ i ].symName); |