summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/ucbstorage.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:48:39 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:48:39 +0000
commit8e57389f9e6970867e1a1e4047dbf16d3390e375 (patch)
tree486520b1328e1d562981c007bd96d25d6ff4f145 /sot/source/sdstor/ucbstorage.cxx
parent7924382bc93d99aca54950a8a7ae31ae5f225060 (diff)
INTEGRATION: CWS ineturl1 (1.85.12); FILE MERGED
2004/10/27 14:26:59 cmc 1.85.12.2: RESYNC: (1.85-1.86); FILE MERGED 2004/09/30 10:58:32 cmc 1.85.12.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'sot/source/sdstor/ucbstorage.cxx')
-rw-r--r--sot/source/sdstor/ucbstorage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index f10c638092c9..fd747ab53bf0 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ucbstorage.cxx,v $
*
- * $Revision: 1.86 $
+ * $Revision: 1.87 $
*
- * last change: $Author: kz $ $Date: 2004-10-04 20:31:52 $
+ * last change: $Author: hr $ $Date: 2004-12-13 12:48:39 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1847,7 +1847,7 @@ UCBStorage_Impl::UCBStorage_Impl( const String& rName, StreamMode nMode, UCBStor
{
// create the special package URL for the package content
String aTemp = String::CreateFromAscii("vnd.sun.star.pkg://");
- aTemp += INetURLObject::encode( aName, INetURLObject::PART_AUTHORITY, '%', INetURLObject::ENCODE_ALL );
+ aTemp += String(INetURLObject::encode( aName, INetURLObject::PART_AUTHORITY, '%', INetURLObject::ENCODE_ALL ));
m_aURL = aTemp;
if ( m_nMode & STREAM_WRITE )
@@ -1893,7 +1893,7 @@ UCBStorage_Impl::UCBStorage_Impl( SvStream& rStream, UCBStorage* pStorage, BOOL
// accessed readonly
// the root storage opens the package; create the special package URL for the package content
String aTemp = String::CreateFromAscii("vnd.sun.star.pkg://");
- aTemp += INetURLObject::encode( m_pTempFile->GetURL(), INetURLObject::PART_AUTHORITY, '%', INetURLObject::ENCODE_ALL );
+ aTemp += String(INetURLObject::encode( m_pTempFile->GetURL(), INetURLObject::PART_AUTHORITY, '%', INetURLObject::ENCODE_ALL ));
m_aURL = aTemp;
// copy data into the temporary file