summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/package/pkguri.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/package/pkguri.cxx')
-rw-r--r--ucb/source/ucp/package/pkguri.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/ucb/source/ucp/package/pkguri.cxx b/ucb/source/ucp/package/pkguri.cxx
index 59a983699991..306c0f67bd97 100644
--- a/ucb/source/ucp/package/pkguri.cxx
+++ b/ucb/source/ucp/package/pkguri.cxx
@@ -69,8 +69,11 @@ void PackageUri::init() const
if ( !m_aUri.isEmpty() && m_aPath.isEmpty() )
{
// Note: Maybe it's a re-init, setUri only resets m_aPath!
- m_aPackage = m_aParentUri = m_aName = m_aParam = m_aScheme
- = OUString();
+ m_aPackage.clear();
+ m_aParentUri.clear();
+ m_aName.clear();
+ m_aParam.clear();
+ m_aScheme.clear();
// URI must match at least: <sheme>://<non_empty_url_to_file>
if ( ( m_aUri.getLength() < PACKAGE_URL_SCHEME_LENGTH + 4 ) )