diff options
-rw-r--r-- | avmedia/source/vlc/wrapper/SymbolLoader.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx index 1835e4386277..ae4cf668d740 100644 --- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx +++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx @@ -48,7 +48,7 @@ namespace if ( ::RegQueryValueEx( hKey, _T( "InstallDir" ), NULL, &dwType, ( LPBYTE )arCurrent, &dwCurrentSize ) == ERROR_SUCCESS ) { ::RegCloseKey( hKey ); - return OUString::createFromAscii( arCurrent ) + "/"; + return OUString( arCurrent, MAX_PATH, rtl_TextEncoding, RTL_TEXTENCODING_UTF8 ) + "/"; } ::RegCloseKey( hKey ); |