summaryrefslogtreecommitdiff
path: root/registry/source/keyimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'registry/source/keyimpl.cxx')
-rw-r--r--registry/source/keyimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx
index 4ddaf10e1ee1..ad335c72a449 100644
--- a/registry/source/keyimpl.cxx
+++ b/registry/source/keyimpl.cxx
@@ -1040,8 +1040,8 @@ OStoreDirectory ORegKey::getStoreDir()
if ( m_name.equals(m_pRegistry->ROOT) )
{
- fullPath = OUString();
- relativName = OUString();
+ fullPath.clear();
+ relativName.clear();
} else
{
fullPath = m_name.copy(0, m_name.lastIndexOf('/') + 1);