summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-04-14 12:40:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-04-14 12:40:14 +0000
commitb0cf9b2d66bff2074e80dbad6326baa5b254c7cd (patch)
treeb2f2b90deb527fdf90ef9bc160aee062a9471474 /ucb/source/ucp/package
parent488beb7a0b4178f39cee4ddf63f7b2bbba6996a6 (diff)
INTEGRATION: CWS unopkg1 (1.5.54); FILE MERGED
2004/01/05 12:32:41 mav 1.5.54.1: #114620# the URL must be encoded
Diffstat (limited to 'ucb/source/ucp/package')
-rw-r--r--ucb/source/ucp/package/pkguri.hxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/ucb/source/ucp/package/pkguri.hxx b/ucb/source/ucp/package/pkguri.hxx
index 077dcd7c9fe3..13cdacb8ddb5 100644
--- a/ucb/source/ucp/package/pkguri.hxx
+++ b/ucb/source/ucp/package/pkguri.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pkguri.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 17:27:16 $
+ * last change: $Author: hr $ $Date: 2004-04-14 13:40:14 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -87,13 +87,16 @@ class PackageUri
private:
void init() const;
- static ::rtl::OUString decodeSegment( const ::rtl::OUString& rSource );
public:
PackageUri() : m_bValid( false ) {}
PackageUri( const ::rtl::OUString & rPackageUri )
: m_aUri( rPackageUri ), m_bValid( false ) {}
+ static ::rtl::OUString decodeSegment( const ::rtl::OUString& rSource );
+ static ::rtl::OUString encodeSegment( const ::rtl::OUString& rSource );
+ static ::rtl::OUString encodeSegmentsForSure( const rtl::OUString& rSource );
+
sal_Bool isValid() const
{ init(); return m_bValid; }