summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/sax/emitcontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/sax/emitcontext.cxx')
-rw-r--r--sdext/source/pdfimport/sax/emitcontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/sax/emitcontext.cxx b/sdext/source/pdfimport/sax/emitcontext.cxx
index c4b91a83a88b..0a856ea29de1 100644
--- a/sdext/source/pdfimport/sax/emitcontext.cxx
+++ b/sdext/source/pdfimport/sax/emitcontext.cxx
@@ -52,7 +52,7 @@ SaxEmitter::SaxEmitter( const uno::Reference< xml::sax::XDocumentHandler >& xDoc
static const char* pDir = getenv( "DBG_PDFIMPORT_DIR" );
if( pDir )
{
- OUString aStr( OUString::fromUtf8( pDir ) );
+ OUString aStr( OStringToOUString( pDir, RTL_TEXTENCODING_UTF8 ) );
OUString aFileURL;
osl_getFileURLFromSystemPath( aStr.pData, &aFileURL.pData );
OUStringBuffer aBuf( 256 );