diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-09 13:49:11 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-09 18:07:05 +0100 |
commit | 949b6ef2e976926cdc946ff1b0550e3f6d8fec3b (patch) | |
tree | 7b5d00377e34476c598222cd9c0213ede4c636ce /cppcanvas/qa | |
parent | 8836de49e533ec67c2242161f68f656a719d6d1e (diff) |
cppcanvas: CPPCANVAS_DEBUG_EMFPLUS_DUMP_TO is expected to be UTF-8
Change-Id: I95101bed2e2d0f87027f2d80e5e7e23f59b3e159
Diffstat (limited to 'cppcanvas/qa')
-rw-r--r-- | cppcanvas/qa/extras/emfplus/emfplus.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppcanvas/qa/extras/emfplus/emfplus.cxx b/cppcanvas/qa/extras/emfplus/emfplus.cxx index 70ee82795c9f..ac4a6f2f549d 100644 --- a/cppcanvas/qa/extras/emfplus/emfplus.cxx +++ b/cppcanvas/qa/extras/emfplus/emfplus.cxx @@ -60,7 +60,7 @@ public: char* pEnv = getenv("CPPCANVAS_DEBUG_EMFPLUS_DUMP_TO"); if (pEnv) { - SvFileStream aStream(OStringToOUString(pEnv, RTL_TEXTENCODING_UTF8), STREAM_WRITE); + SvFileStream aStream(OUString::fromUtf8(pEnv), STREAM_WRITE); vcl::PNGWriter aWriter(aResultBitmap); CPPUNIT_ASSERT(aWriter.Write(aStream)); } |