diff options
Diffstat (limited to 'registry/source/keyimpl.cxx')
-rw-r--r-- | registry/source/keyimpl.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index 1d687a61efd2..eb2172d1c512 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -1036,7 +1036,7 @@ OUString ORegKey::getFullPath(OUString const & path) const { OUStringBuffer b(m_name); if (!b.isEmpty() && b[b.getLength() - 1] == '/') { if (path[0] == '/') { - b.append(path.getStr() + 1, path.getLength() - 1); + b.append(path.copy(1)); } else { b.append(path); } |