summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configmgr/source/partial.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/configmgr/source/partial.cxx b/configmgr/source/partial.cxx
index 89643cb7ceb9..b7eecfefd632 100644
--- a/configmgr/source/partial.cxx
+++ b/configmgr/source/partial.cxx
@@ -72,7 +72,7 @@ Partial::Partial(
for (Node * p = &root_;;) {
OUString seg;
bool end = parseSegment(includedPath, &n, &seg);
- p = &p->children[seg];
+ p = !seg.isEmpty() ? &p->children[seg] : p;
if (p->startInclude) {
break;
}