summaryrefslogtreecommitdiffstats
path: root/avmedia/source/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-06 07:45:00 +0200
committerNoel Grandin <noel@peralex.com>2014-11-06 13:51:10 +0200
commit05050cdb23de586870bf479a9df5ced06828d498 (patch)
treea34c3bba9a921a5e9abf23d5757c15dfaea0ceac /avmedia/source/opengl
parentBin unused include files, thanks to Andrea Gelmini (diff)
downloadcore-05050cdb23de586870bf479a9df5ced06828d498.tar.gz
core-05050cdb23de586870bf479a9df5ced06828d498.zip
use the new OUString::fromUtf8 method
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
Diffstat (limited to 'avmedia/source/opengl')
-rw-r--r--avmedia/source/opengl/oglplayer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/opengl/oglplayer.cxx b/avmedia/source/opengl/oglplayer.cxx
index 36f5e6874fa0..74f38211e4d0 100644
--- a/avmedia/source/opengl/oglplayer.cxx
+++ b/avmedia/source/opengl/oglplayer.cxx
@@ -87,7 +87,7 @@ bool OGLPlayer::create( const OUString& rURL )
if( !rFile.filename.empty() )
{
const OUString sFilesURL =
- INetURLObject::GetAbsURL(m_sURL,OStringToOUString(OString(rFile.filename.c_str()),RTL_TEXTENCODING_UTF8));
+ INetURLObject::GetAbsURL(m_sURL, OUString::fromUtf8(OString(rFile.filename.c_str())));
if( rFile.type == GLTF_IMAGE )
{
// Load images as bitmaps