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 087e5855e6e1..fff60d6e2449 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -967,7 +967,7 @@ OUString ORegKey::getFullPath(OUString const & path) const { b.append(m_name); if (!b.isEmpty() && b[b.getLength() - 1] == '/') { if (path[0] == '/') { - b.append(std::u16string_view(path).substr(1)); + b.append(path.subView(1)); } else { b.append(path); } |