summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2007-04-03 13:08:01 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2007-04-03 13:08:01 +0000
commitf86cafc3c7baab6f08263e4550dffa26f51811bc (patch)
treea98d93e999287d91f8d07f9e8a7291ceefb7c024 /package
parente69a6e34a31d8a27eb270fb962ae9e24719a2ddf (diff)
INTEGRATION: CWS salstrintern (1.45.28); FILE MERGED
2007/02/08 14:23:59 mmeeks 1.45.28.1: Issue number: i#74343 Submitted by: mmeeks 'intern' all ZipFile stream name strings - they're duplicated elsewhere.
Diffstat (limited to 'package')
-rw-r--r--package/source/zipapi/ZipFile.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 74d63a18d408..7ee1febe4a75 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: ZipFile.cxx,v $
*
- * $Revision: 1.45 $
+ * $Revision: 1.46 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 17:28:16 $
+ * last change: $Author: rt $ $Date: 2007-04-03 14:08:01 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -798,9 +798,9 @@ sal_Int32 ZipFile::readCEN()
if ( aEntry.nExtraLen > ZIP_MAXEXTRA )
throw ZipException( OUString( RTL_CONSTASCII_USTRINGPARAM ( "extra header info exceeds ZIP_MAXEXTRA bytes") ), Reference < XInterface > () );
- aEntry.sName = OUString ( (sal_Char *) aMemGrabber.getCurrentPos(),
- aEntry.nNameLen,
- RTL_TEXTENCODING_ASCII_US);
+ aEntry.sName = rtl::OUString::intern ( (sal_Char *) aMemGrabber.getCurrentPos(),
+ aEntry.nNameLen,
+ RTL_TEXTENCODING_ASCII_US);
aMemGrabber.skipBytes( aEntry.nNameLen + aEntry.nExtraLen + nCommentLen );
aEntries[aEntry.sName] = aEntry;