diff options
author | Julien Nabet <serval@ilapharm.com> | 2010-11-23 22:41:07 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2010-11-24 07:56:52 +0100 |
commit | 648589a0bd6c72b8b6b125644b43c6efad17ead1 (patch) | |
tree | 9c519a5c237c05f2e8541f0afa1e646e4e154381 /package/source/zipapi | |
parent | 95e7e542438384975a95e7309e23a07a0986fcc7 (diff) |
RTL patch
Diffstat (limited to 'package/source/zipapi')
-rw-r--r-- | package/source/zipapi/ZipFile.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx index 969fa64d1720..475bcea9af7c 100644 --- a/package/source/zipapi/ZipFile.cxx +++ b/package/source/zipapi/ZipFile.cxx @@ -291,7 +291,7 @@ Reference< XInputStream > ZipFile::StaticGetDataFromRawStream( const Reference< throw ( packages::WrongPasswordException, ZipIOException, RuntimeException ) { if ( !rData.is() ) - throw ZipIOException( OUString::createFromAscii( "Encrypted stream without encryption data!\n" ), + throw ZipIOException( OUString(RTL_CONSTASCII_USTRINGPARAM( "Encrypted stream without encryption data!\n" )), Reference< XInterface >() ); if ( !rData->aKey.getLength() ) @@ -299,7 +299,7 @@ Reference< XInputStream > ZipFile::StaticGetDataFromRawStream( const Reference< Reference< XSeekable > xSeek( xStream, UNO_QUERY ); if ( !xSeek.is() ) - throw ZipIOException( OUString::createFromAscii( "The stream must be seekable!\n" ), + throw ZipIOException( OUString(RTL_CONSTASCII_USTRINGPARAM( "The stream must be seekable!\n" )), Reference< XInterface >() ); @@ -559,7 +559,7 @@ Reference< XInputStream > SAL_CALL ZipFile::getDataStream( ZipEntry& rEntry, // in case no digest is provided there is no way // to detect password correctness if ( !rData.is() ) - throw ZipException( OUString::createFromAscii( "Encrypted stream without encryption data!\n" ), + throw ZipException( OUString(RTL_CONSTASCII_USTRINGPARAM( "Encrypted stream without encryption data!\n" )), Reference< XInterface >() ); // if we have a digest, then this file is an encrypted one and we should |